diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-15 15:23:54 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-15 15:23:54 +0000 |
commit | a33c5276c9f07d54af523406445070bef6edf256 (patch) | |
tree | 5afa15e38426f2f90bc92841bbfd86d33770b516 /src/indicator-sound.c | |
parent | 7bf3e2198b604ba20abfc225768cbd09a4187be0 (diff) | |
download | ayatana-indicator-sound-a33c5276c9f07d54af523406445070bef6edf256.tar.gz ayatana-indicator-sound-a33c5276c9f07d54af523406445070bef6edf256.tar.bz2 ayatana-indicator-sound-a33c5276c9f07d54af523406445070bef6edf256.zip |
Merge of cody's tweak to enable slider moving in the correct direction
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r-- | src/indicator-sound.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c index a8bbeea..f2d59c3 100644 --- a/src/indicator-sound.c +++ b/src/indicator-sound.c @@ -375,6 +375,7 @@ static gboolean new_slider_item(DbusmenuMenuitem * newitem, DbusmenuMenuitem * p g_return_val_if_fail(DBUSMENU_IS_GTKCLIENT(client), FALSE); volume_slider = ido_scale_menu_item_new_with_range ("Volume", initial_volume_percent, 0, 100, 0.5); + g_object_set(volume_slider, "reverse-scroll-events", TRUE, NULL); GtkMenuItem *menu_volume_slider = GTK_MENU_ITEM(volume_slider); dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, menu_volume_slider, parent); |