aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-04 12:46:49 -0500
committerTed Gould <ted@gould.cx>2010-08-04 12:46:49 -0500
commit4dea77d518cd6b1106452735f265ff2366c4dc9c (patch)
tree92571baa13f4dcd6767d1a6768aa4e90dc79baa0 /src/application-service-appstore.c
parente33d50bdee8e3e04277f4c3c3f45ff60d3bbbb45 (diff)
downloadlibayatana-appindicator-4dea77d518cd6b1106452735f265ff2366c4dc9c.tar.gz
libayatana-appindicator-4dea77d518cd6b1106452735f265ff2366c4dc9c.tar.bz2
libayatana-appindicator-4dea77d518cd6b1106452735f265ff2366c4dc9c.zip
Adding signal for label changing.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r--src/application-service-appstore.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 2f53ecf..d25c022 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -92,6 +92,7 @@ enum {
APPLICATION_ADDED,
APPLICATION_REMOVED,
APPLICATION_ICON_CHANGED,
+ APPLICATION_LABEL_CHANGED,
LAST_SIGNAL
};
@@ -141,6 +142,13 @@ application_service_appstore_class_init (ApplicationServiceAppstoreClass *klass)
NULL, NULL,
_application_service_marshal_VOID__INT_STRING,
G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_STRING, G_TYPE_NONE);
+ signals[APPLICATION_LABEL_CHANGED] = g_signal_new ("application-label-changed",
+ G_TYPE_FROM_CLASS(klass),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (ApplicationServiceAppstoreClass, application_label_changed),
+ NULL, NULL,
+ _application_service_marshal_VOID__INT_STRING_STRING,
+ G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_NONE);
dbus_g_object_type_install_info(APPLICATION_SERVICE_APPSTORE_TYPE,
&dbus_glib__application_service_server_object_info);