aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-02 15:57:24 -0600
committerTed Gould <ted@gould.cx>2012-03-02 15:57:24 -0600
commit63331bc7d84c4d4cf11b0746293c7264b057de0d (patch)
tree062720c4b0a7a3da2605fa87159eb7cca1a2b7da
parent4ccb5d75887671bce24df6eeaacd7eb89b2be189 (diff)
downloadlibayatana-appindicator-63331bc7d84c4d4cf11b0746293c7264b057de0d.tar.gz
libayatana-appindicator-63331bc7d84c4d4cf11b0746293c7264b057de0d.tar.bz2
libayatana-appindicator-63331bc7d84c4d4cf11b0746293c7264b057de0d.zip
Sets the title of the status icon to the title of the appindicator and the name to the ID
-rw-r--r--src/app-indicator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 6c693e8..1e24bd1 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -1510,7 +1510,8 @@ fallback (AppIndicator * self)
{
GtkStatusIcon * icon = gtk_status_icon_new();
- gtk_status_icon_set_title(icon, app_indicator_get_id(self));
+ gtk_status_icon_set_name(icon, app_indicator_get_id(self));
+ gtk_status_icon_set_title(icon, app_indicator_get_title(self));
g_signal_connect(G_OBJECT(self), APP_INDICATOR_SIGNAL_NEW_STATUS,
G_CALLBACK(status_icon_status_wrapper), icon);