aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-03 16:57:21 -0600
committerTed Gould <ted@gould.cx>2012-02-03 16:57:21 -0600
commitc91e6fcb209ec0121a6f9d3ded750d0588ca03a2 (patch)
tree57d473c2e4665c1b56eb396e0bf22ba0fed93f09 /src
parent716e613e96ba579d5cf7454320317386b9117d24 (diff)
downloadayatana-indicator-application-c91e6fcb209ec0121a6f9d3ded750d0588ca03a2.tar.gz
ayatana-indicator-application-c91e6fcb209ec0121a6f9d3ded750d0588ca03a2.tar.bz2
ayatana-indicator-application-c91e6fcb209ec0121a6f9d3ded750d0588ca03a2.zip
Handling the 'NewTitle' signal coming from the application indicator
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index d2758a1..e60450c 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -58,6 +58,7 @@ static void props_cb (GObject * object, GAsyncResult * res, gpointer user_data);
#define NOTIFICATION_ITEM_SIG_NEW_STATUS "NewStatus"
#define NOTIFICATION_ITEM_SIG_NEW_LABEL "XAyatanaNewLabel"
#define NOTIFICATION_ITEM_SIG_NEW_ICON_THEME_PATH "NewIconThemePath"
+#define NOTIFICATION_ITEM_SIG_NEW_TITLE "NewTitle"
#define OVERRIDE_GROUP_NAME "Ordering Index Overrides"
#define OVERRIDE_FILE_NAME "ordering-override.keyfile"
@@ -1214,6 +1215,10 @@ app_receive_signal (GDBusProxy * proxy, gchar * sender_name, gchar * signal_name
/* aicon name isn't provided by signal, so look it up */
get_all_properties(app);
}
+ else if (g_strcmp0(signal_name, NOTIFICATION_ITEM_SIG_NEW_TITLE) == 0) {
+ /* title name isn't provided by signal, so look it up */
+ get_all_properties(app);
+ }
else if (g_strcmp0(signal_name, NOTIFICATION_ITEM_SIG_NEW_STATUS) == 0) {
const gchar * status;
g_variant_get(parameters, "(&s)", &status);