aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-18 17:19:28 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-18 17:19:28 +0000
commite2ac5884b9c759c71f0ef2c07bdedf2e32c940bd (patch)
tree7639f56402f849472d2f4e5c9e56d03cf15ed917 /src/indicator-sound.c
parent80afbbce02c5d31fc4375b84c8647628333b7cc2 (diff)
downloadayatana-indicator-sound-e2ac5884b9c759c71f0ef2c07bdedf2e32c940bd.tar.gz
ayatana-indicator-sound-e2ac5884b9c759c71f0ef2c07bdedf2e32c940bd.tar.bz2
ayatana-indicator-sound-e2ac5884b9c759c71f0ef2c07bdedf2e32c940bd.zip
remove ctrl left & right shortcut as requested
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index ef803e4..2466550 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -493,19 +493,23 @@ key_press_cb(GtkWidget* widget, GdkEventKey* event, gpointer data)
switch (event->keyval) {
case GDK_Right:
digested = TRUE;
+/*
if (event->state & GDK_CONTROL_MASK) {
new_value = 100;
} else {
+*/
new_value = current_value + five_percent;
- }
+ //}
break;
case GDK_Left:
digested = TRUE;
+/*
if (event->state & GDK_CONTROL_MASK) {
new_value = 0;
} else {
+*/
new_value = current_value - five_percent;
- }
+ //}
break;
case GDK_plus:
digested = TRUE;