diff options
author | Ted Gould <ted@gould.cx> | 2009-12-20 17:24:13 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-20 17:24:13 -0600 |
commit | 9185eeee48ad6fc91b023127e9f92f7348a0c6aa (patch) | |
tree | e26c5c6c22f8092701af2bf9c4aa8ca644b2f68b /src/application-service-appstore.c | |
parent | a9c6b6e346c1c850284f8766171a371da8c7b595 (diff) | |
download | libayatana-appindicator-9185eeee48ad6fc91b023127e9f92f7348a0c6aa.tar.gz libayatana-appindicator-9185eeee48ad6fc91b023127e9f92f7348a0c6aa.tar.bz2 libayatana-appindicator-9185eeee48ad6fc91b023127e9f92f7348a0c6aa.zip |
Adding in the icon path to the list of parameters that are passed when we have a new application.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r-- | src/application-service-appstore.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 1391d33..92e5668 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -40,6 +40,7 @@ static gboolean _application_service_server_get_applications (ApplicationService #define NOTIFICATION_ITEM_PROP_STATUS "Status" #define NOTIFICATION_ITEM_PROP_ICON_NAME "IconName" #define NOTIFICATION_ITEM_PROP_AICON_NAME "AttentionIconName" +#define NOTIFICATION_ITEM_PROP_ICON_PATH "IconPath" #define NOTIFICATION_ITEM_PROP_MENU "Menu" /* Private Stuff */ @@ -93,8 +94,8 @@ application_service_appstore_class_init (ApplicationServiceAppstoreClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ApplicationServiceAppstore, application_added), NULL, NULL, - _application_service_marshal_VOID__STRING_INT_STRING_STRING, - G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_NONE); + _application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING, + G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_NONE); signals[APPLICATION_REMOVED] = g_signal_new ("application-removed", G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST, @@ -185,6 +186,7 @@ get_all_properties_cb (DBusGProxy * proxy, GHashTable * properties, GError * err 0, /* Position */ app->dbus_name, g_value_get_string(g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_MENU)), + g_value_get_string(g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_ICON_PATH)), TRUE); return; |