aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-test-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-test-component.c')
-rw-r--r--shell/evolution-test-component.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/evolution-test-component.c b/shell/evolution-test-component.c
index f9f199e606..aed0d9089d 100644
--- a/shell/evolution-test-component.c
+++ b/shell/evolution-test-component.c
@@ -52,6 +52,16 @@ static int timeout_id = 0;
static int progress = -1;
+/* Callbacks. */
+
+static void
+activity_client_clicked_callback (EvolutionActivityClient *client,
+ void *data)
+{
+ g_warning ("Task bar button clicked!");
+}
+
+
/* Timeout #3: We are done. */
static int
timeout_callback_3 (void *data)
@@ -109,6 +119,9 @@ timeout_callback_1 (void *data)
return FALSE;
}
+ gtk_signal_connect (GTK_OBJECT (activity_client), "clicked",
+ GTK_SIGNAL_FUNC (activity_client_clicked_callback), NULL);
+
g_print ("Component becoming busy -- %s\n", COMPONENT_ID);
if (suggest_display)
g_print (" --> Could display dialog box.\n");