aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-11-15 17:18:19 +0000
committerConor Curran <conor.curran@canonical.com>2010-11-15 17:18:19 +0000
commiteaee3afe6312a04ce41daed8d380ac5e49616ed6 (patch)
tree63102d9a835f95b9a4314f1af2c75a17577a92d0 /src/indicator-sound.c
parent41284d027bd0c0eeff0e83e10b365f98a6977f59 (diff)
downloadayatana-indicator-sound-eaee3afe6312a04ce41daed8d380ac5e49616ed6.tar.gz
ayatana-indicator-sound-eaee3afe6312a04ce41daed8d380ac5e49616ed6.tar.bz2
ayatana-indicator-sound-eaee3afe6312a04ce41daed8d380ac5e49616ed6.zip
key handling all set up
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 53a4876..b39d064 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -715,7 +715,7 @@ key_press_cb(GtkWidget* widget, GdkEventKey* event, gpointer data)
volume_widget_update(VOLUME_WIDGET(priv->volume_widget), new_value);
}
}
- if (IS_TRANSPORT_WIDGET(menuitem) == TRUE) {
+ else if (IS_TRANSPORT_WIDGET(menuitem) == TRUE) {
switch (event->keyval) {
case GDK_Right:
transport_widget_react_to_key_event ( TRANSPORT_WIDGET ( priv->transport_widget ),
@@ -761,7 +761,6 @@ indicator_sound_scroll (IndicatorObject *io, gint delta, IndicatorScrollDirectio
if (device_available == FALSE || current_state == STATE_MUTED)
return;
-
IndicatorSoundPrivate* priv = INDICATOR_SOUND_GET_PRIVATE(INDICATOR_SOUND (io));
GtkWidget* slider_widget = volume_widget_get_ido_slider(VOLUME_WIDGET(priv->volume_widget));