diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-08-22 14:05:48 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-08-22 14:05:48 +0100 |
commit | 84a75758a3a76b024168612b3932d7b09e5bd1a8 (patch) | |
tree | 0904da0714ae9907b9a5c486ceb16e4fd25cb06b /src | |
parent | 397ce19ba4e460dbb3bfb4a4b7b06d98918c153b (diff) | |
download | ayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.tar.gz ayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.tar.bz2 ayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.zip |
used the set aside defines for icon names
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-shared-names.h | 4 | ||||
-rw-r--r-- | src/indicator-session.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dbus-shared-names.h b/src/dbus-shared-names.h index d9dfff1..c71dc61 100644 --- a/src/dbus-shared-names.h +++ b/src/dbus-shared-names.h @@ -61,7 +61,7 @@ typedef enum { #define RESTART_ITEM_LABEL "restart-label" #define RESTART_ITEM_ICON "restart-icon" -#define ICON_DEFAULT "system-shutdown-panel" -#define ICON_RESTART "system-shutdown-panel-restart" +#define ICON_DEFAULT "system-devices-panel" +#define ICON_RESTART "system-devices-panel-alert" #endif /* __DBUS_SHARED_NAMES_H__ */ diff --git a/src/indicator-session.c b/src/indicator-session.c index c980378..fab47b3 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -167,7 +167,7 @@ indicator_session_init (IndicatorSession *self) // devices self->devices.menu = GTK_MENU (dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT)); - self->devices.image = indicator_image_helper ("system-devices-panel"); + self->devices.image = indicator_image_helper (ICON_DEFAULT); gtk_widget_show (GTK_WIDGET(self->devices.menu)); gtk_widget_show (GTK_WIDGET(self->devices.image)); @@ -499,7 +499,7 @@ receive_signal (GDBusProxy * proxy, } else if (g_strcmp0(signal_name, "RebootRequired") == 0) { // TODO waiting on design to give me a name. - self->devices.image = indicator_image_helper ("system-devices-alert-panel"); + self->devices.image = indicator_image_helper (ICON_RESTART); } } |