~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to services/panel-service.c

  • Committer: Mirco Müller
  • Date: 2011-04-07 08:52:17 UTC
  • mfrom: (1074.1.1 set-indicator-env)
  • Revision ID: mirco.mueller@ubuntu.com-20110407085217-620vjs3jxbo3pojf
modified:
  services/panel-service.c

Merged Ted's set-indicator-env after review and approval from Jay. This
fixes LP: #703555

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
  g_free (entry_id);
569
569
}
570
570
 
 
571
static const gchar * indicator_environment[] = {
 
572
        "unity",
 
573
        "unity-3d",
 
574
        "unity-panel-service",
 
575
        NULL
 
576
};
 
577
 
571
578
static void
572
579
load_indicator (PanelService *self, IndicatorObject *object, const gchar *_name)
573
580
{
575
582
  gchar *name;
576
583
  GList *entries, *entry;
577
584
 
 
585
  indicator_object_set_environment(object, (const GStrv)indicator_environment);
 
586
 
578
587
  if (_name != NULL)
579
588
    name = g_strdup (_name);
580
589
  else