From 002c16bd0b040dfb39468898eb904f035ea2b97c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 2 Mar 2012 16:00:36 -0600 Subject: Handle the title changing at runtime --- src/app-indicator.c | 4 ++++ 1 file changed, 4 insertions(+) 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: { -- cgit v1.2.3