aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-22 14:05:48 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-22 14:05:48 +0100
commit84a75758a3a76b024168612b3932d7b09e5bd1a8 (patch)
tree0904da0714ae9907b9a5c486ceb16e4fd25cb06b
parent397ce19ba4e460dbb3bfb4a4b7b06d98918c153b (diff)
downloadayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.tar.gz
ayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.tar.bz2
ayatana-indicator-session-84a75758a3a76b024168612b3932d7b09e5bd1a8.zip
used the set aside defines for icon names
-rw-r--r--src/dbus-shared-names.h4
-rw-r--r--src/indicator-session.c4
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);
}
}