aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-02 16:00:36 -0600
committerTed Gould <ted@gould.cx>2012-03-02 16:00:36 -0600
commit002c16bd0b040dfb39468898eb904f035ea2b97c (patch)
tree50da6fc314534f288944a7db899af9d255d38e83
parent556d7496aa3a466087fbede29e3e018e704d1a2d (diff)
downloadlibayatana-appindicator-002c16bd0b040dfb39468898eb904f035ea2b97c.tar.gz
libayatana-appindicator-002c16bd0b040dfb39468898eb904f035ea2b97c.tar.bz2
libayatana-appindicator-002c16bd0b040dfb39468898eb904f035ea2b97c.zip
Handle the title changing at runtime
-rw-r--r--src/app-indicator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 1e24bd1..92aae3b 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -897,6 +897,10 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu
if (oldtitle != NULL) {
g_free(oldtitle);
}
+
+ if (priv->status_icon != NULL) {
+ gtk_status_icon_set_title(priv->status_icon, priv->title);
+ }
break;
}
case PROP_LABEL_GUIDE: {