aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-07 13:53:42 -0600
committerTed Gould <ted@gould.cx>2010-01-07 13:53:42 -0600
commit2c767da806cf8919a9ef1a827235f746f9693292 (patch)
treec92277dec3353b22ce0e61473a225baa97ba03d6 /src/application-service-appstore.c
parentf7e660f7f5a1133cc2a3bf341a2301f38160995a (diff)
downloadlibayatana-appindicator-2c767da806cf8919a9ef1a827235f746f9693292.tar.gz
libayatana-appindicator-2c767da806cf8919a9ef1a827235f746f9693292.tar.bz2
libayatana-appindicator-2c767da806cf8919a9ef1a827235f746f9693292.zip
Adding an icon_changed signal to the application store
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 dfd932e..f24b36f 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -70,6 +70,7 @@ struct _Application {
enum {
APPLICATION_ADDED,
APPLICATION_REMOVED,
+ APPLICATION_ICON_CHANGED,
LAST_SIGNAL
};
@@ -107,6 +108,13 @@ application_service_appstore_class_init (ApplicationServiceAppstoreClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT, G_TYPE_NONE);
+ signals[APPLICATION_ICON_CHANGED] = g_signal_new ("application-icon-changed",
+ G_TYPE_FROM_CLASS(klass),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (ApplicationServiceAppstore, application_icon_changed),
+ NULL, NULL,
+ _application_service_marshal_VOID__INT_STRING,
+ G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_STRING, G_TYPE_NONE);
dbus_g_object_type_install_info(APPLICATION_SERVICE_APPSTORE_TYPE,