aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-03-03 16:46:30 +0000
committerCody Russell <crussell@canonical.com>2010-03-03 16:46:30 +0000
commit87478982de012b8322090f40a747ab42f7dd838c (patch)
tree83c9ef31bf1eb2c993a15490fb30e5f1f6062ba8 /src
parent653a2439a3a79d3756f20bc63c6344984abc726e (diff)
downloadayatana-indicator-sound-87478982de012b8322090f40a747ab42f7dd838c.tar.gz
ayatana-indicator-sound-87478982de012b8322090f40a747ab42f7dd838c.tar.bz2
ayatana-indicator-sound-87478982de012b8322090f40a747ab42f7dd838c.zip
Test menuitem name.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index acacddc..49c02fa 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -439,6 +439,10 @@ static gboolean key_press_cb(GtkWidget* widget, GdkEventKey* event, gpointer dat
gdouble current_value = gtk_range_get_value(range);
gdouble new_value = current_value;
const gdouble five_percent = 5;
+ GtkWidget *menuitem;
+
+ menuitem = gtk_menu_get_active (GTK_MENU (widget));
+ g_print (g_type_name (menuitem));
switch(event->keyval)
{