aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-07 13:37:56 -0600
committerTed Gould <ted@gould.cx>2010-01-07 13:37:56 -0600
commitf7e660f7f5a1133cc2a3bf341a2301f38160995a (patch)
tree9a33461806a6fd7b26908c308cbdbf3e09527960
parent6d922ea1dee5f63ca852950938c04be68124c30f (diff)
downloadayatana-indicator-application-f7e660f7f5a1133cc2a3bf341a2301f38160995a.tar.gz
ayatana-indicator-application-f7e660f7f5a1133cc2a3bf341a2301f38160995a.tar.bz2
ayatana-indicator-application-f7e660f7f5a1133cc2a3bf341a2301f38160995a.zip
Cleaning up signal handlers.
-rw-r--r--src/application-service-appstore.c35
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