diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-09-15 14:02:22 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-09-15 14:02:22 -0400 |
commit | 617263e297961593538cc9d42af54f76b2d49018 (patch) | |
tree | dac171fd274e3fdc7e59a16b5b7d4f48cb6da491 /tools | |
parent | ab548526d5d94824e12dbd8c79a06daba0e33d64 (diff) | |
parent | 0bcacdcdc45b229e955d9e9d748580f4c3fb3fd1 (diff) | |
download | libayatana-indicator-617263e297961593538cc9d42af54f76b2d49018.tar.gz libayatana-indicator-617263e297961593538cc9d42af54f76b2d49018.tar.bz2 libayatana-indicator-617263e297961593538cc9d42af54f76b2d49018.zip |
releasing version 0.3.13-0ubuntu10.3.13-0ubuntu1
Diffstat (limited to 'tools')
-rw-r--r-- | tools/indicator-loader.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c index 0f4a7be..747b216 100644 --- a/tools/indicator-loader.c +++ b/tools/indicator-loader.c @@ -79,6 +79,13 @@ entry_removed (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user return; } +static void +menu_show (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data) +{ + g_debug("Show Menu: %s", entry->label != NULL ? gtk_label_get_text(entry->label) : "No Label"); + return; +} + static gboolean load_module (const gchar * name, GtkWidget * menu) { @@ -97,6 +104,7 @@ load_module (const gchar * name, GtkWidget * menu) /* Connect to it's signals */ g_signal_connect(G_OBJECT(io), INDICATOR_OBJECT_SIGNAL_ENTRY_ADDED, G_CALLBACK(entry_added), menu); g_signal_connect(G_OBJECT(io), INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED, G_CALLBACK(entry_removed), menu); + g_signal_connect(G_OBJECT(io), INDICATOR_OBJECT_SIGNAL_MENU_SHOW, G_CALLBACK(menu_show), NULL); /* Work on the entries */ GList * entries = indicator_object_get_entries(io); |