diff options
author | Ted Gould <ted@gould.cx> | 2010-03-12 15:49:52 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-12 15:49:52 -0600 |
commit | 2dd05e216cdc0e7ab9318a410758eade2d3e68a4 (patch) | |
tree | 3627bd1ba8b497c49739dc5b917b27bc0a2bb57f /src/indicator-session.c | |
parent | 746636765323cb223ef84af13920a9620176eb4f (diff) | |
download | ayatana-indicator-session-2dd05e216cdc0e7ab9318a410758eade2d3e68a4.tar.gz ayatana-indicator-session-2dd05e216cdc0e7ab9318a410758eade2d3e68a4.tar.bz2 ayatana-indicator-session-2dd05e216cdc0e7ab9318a410758eade2d3e68a4.zip |
Moving the icon names into the shared header files
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r-- | src/indicator-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index 6e259dc..de18bb3 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -107,7 +107,7 @@ indicator_session_init (IndicatorSession *self) self->service = indicator_service_manager_new_version(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_VERSION); g_signal_connect(G_OBJECT(self->service), INDICATOR_SERVICE_MANAGER_SIGNAL_CONNECTION_CHANGE, G_CALLBACK(service_connection_cb), self); - self->status_image = GTK_IMAGE(gtk_image_new_from_icon_name("system-shutdown-panel", GTK_ICON_SIZE_MENU)); + self->status_image = GTK_IMAGE(gtk_image_new_from_icon_name(ICON_DEFAULT, GTK_ICON_SIZE_MENU)); self->menu = dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT); DbusmenuClient * client = DBUSMENU_CLIENT(dbusmenu_gtkmenu_get_client(self->menu)); @@ -174,7 +174,7 @@ service_connection_cb (IndicatorServiceManager * sm, gboolean connected, gpointe if (connected) { org_ayatana_indicator_session_service_get_icon_async(self->service_proxy, icon_name_get_cb, user_data); } else { - gtk_image_set_from_icon_name(self->status_image, "system-shutdown-panel", GTK_ICON_SIZE_MENU); + gtk_image_set_from_icon_name(self->status_image, ICON_DEFAULT, GTK_ICON_SIZE_MENU); } return; |