diff options
author | Ted Gould <ted@gould.cx> | 2010-08-05 11:25:25 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-05 11:25:25 -0500 |
commit | 62a5f41b117ec2f8a2c5258522951fe94acfffea (patch) | |
tree | 720d10666f86b41be4cf76f88c3a384b4704630d /src | |
parent | 9c46c111666900bc30bf3a5062148f3f6dfc0e37 (diff) | |
download | ayatana-indicator-application-62a5f41b117ec2f8a2c5258522951fe94acfffea.tar.gz ayatana-indicator-application-62a5f41b117ec2f8a2c5258522951fe94acfffea.tar.bz2 ayatana-indicator-application-62a5f41b117ec2f8a2c5258522951fe94acfffea.zip |
Adding updating the guide and label size to the label update signal
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-application.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c index 1fd043d..461d32e 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -617,6 +617,17 @@ application_label_changed (DBusGProxy * proxy, gint position, const gchar * labe /* TODO: Handle the case where we didn't have a label */ } + if (app->guide != NULL) { + g_free(app->guide); + app->guide = NULL; + } + + if (guide != NULL) { + app->guide = g_strdup(guide); + } + + guess_label_size(app); + return; } |