diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-09-02 16:16:09 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-09-02 16:16:09 +0100 |
commit | 3f39e981fdbe934faf762de161645edd5eba753f (patch) | |
tree | 5470f9fee98775089fa68c7066205e7269f18965 /src/indicator-session.c | |
parent | 40e2c4c17c08042e6ed58b554aa4c45a8f806801 (diff) | |
download | ayatana-indicator-session-3f39e981fdbe934faf762de161645edd5eba753f.tar.gz ayatana-indicator-session-3f39e981fdbe934faf762de161645edd5eba753f.tar.bz2 ayatana-indicator-session-3f39e981fdbe934faf762de161645edd5eba753f.zip |
remove the greeter icon stuff
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r-- | src/indicator-session.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index 2b36fdd..aacef49 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -164,19 +164,10 @@ indicator_session_init (IndicatorSession *self) self->users.label = GTK_LABEL (gtk_label_new (NULL)); - const gchar *greeter_var; - greeter_var = g_getenv("INDICATOR_GREETER_MODE"); - // devices self->devices.menu = GTK_MENU (dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT)); - if (g_strcmp0(greeter_var, "1") == 0){ - self->devices.image = indicator_image_helper (GREETER_ICON_DEFAULT); - } - else{ - self->devices.image = indicator_image_helper (ICON_DEFAULT); - } - + self->devices.image = indicator_image_helper (ICON_DEFAULT); gtk_widget_show (GTK_WIDGET(self->devices.menu)); gtk_widget_show (GTK_WIDGET(self->devices.image)); |