diff options
author | Ted Gould <ted@gould.cx> | 2010-01-07 13:37:56 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-07 13:37:56 -0600 |
commit | f7e660f7f5a1133cc2a3bf341a2301f38160995a (patch) | |
tree | 9a33461806a6fd7b26908c308cbdbf3e09527960 /src/application-service-appstore.c | |
parent | 6d922ea1dee5f63ca852950938c04be68124c30f (diff) | |
download | libayatana-appindicator-f7e660f7f5a1133cc2a3bf341a2301f38160995a.tar.gz libayatana-appindicator-f7e660f7f5a1133cc2a3bf341a2301f38160995a.tar.bz2 libayatana-appindicator-f7e660f7f5a1133cc2a3bf341a2301f38160995a.zip |
Cleaning up signal handlers.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r-- | src/application-service-appstore.c | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index e832a71..dfd932e 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -245,9 +245,38 @@ application_removed_cb (DBusGProxy * proxy, gpointer userdata) return; } -void new_icon (void) { } -void new_aicon (void) { } -void new_status (void) { } +/* Called when the Notification Item signals that it + has a new icon. */ +static void +new_icon (DBusGProxy * proxy, gpointer data) +{ + Application * app = (Application *)data; + if (!app->validated) return; + + return; +} + +/* Called when the Notification Item signals that it + has a new attention icon. */ +static void +new_aicon (DBusGProxy * proxy, gpointer data) +{ + Application * app = (Application *)data; + if (!app->validated) return; + + return; +} + +/* Called when the Notification Item signals that it + has a new status. */ +static void +new_status (DBusGProxy * proxy, const gchar * status, gpointer data) +{ + Application * app = (Application *)data; + if (!app->validated) return; + + return; +} /* Adding a new NotificationItem object from DBus in to the appstore. First, we need to get the information on it |