Merge lp://qastaging/~bratsche/indicator-sound/reverse-scroll-events into lp://qastaging/indicator-sound/0.1

Proposed by Cody Russell
Status: Merged
Merge reported by: Conor Curran
Merged at revision: not available
Proposed branch: lp://qastaging/~bratsche/indicator-sound/reverse-scroll-events
Merge into: lp://qastaging/indicator-sound/0.1
Diff against target: 13 lines (+3/-0)
1 file modified
src/indicator-sound.c (+3/-0)
To merge this branch: bzr merge lp://qastaging/~bratsche/indicator-sound/reverse-scroll-events
Reviewer Review Type Date Requested Status
Conor Curran (community) Approve
Review via email: mp+19257@code.qastaging.launchpad.net

Commit message

manually merged - small tweak to enable sliders moving in the correct direction with mouse wheel scrolls

To post a comment you must log in.
Revision history for this message
Cody Russell (bratsche) wrote :

Depends upon a new GObject property I'm proposing for ido: lp:~bratsche/ido/reverse-scroll-events

Revision history for this message
Conor Curran (cjcurran) wrote :

all good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/indicator-sound.c'
2--- src/indicator-sound.c 2010-02-10 17:29:42 +0000
3+++ src/indicator-sound.c 2010-02-13 06:51:16 +0000
4@@ -375,6 +375,9 @@
5 g_return_val_if_fail(DBUSMENU_IS_GTKCLIENT(client), FALSE);
6
7 volume_slider = ido_scale_menu_item_new_with_range ("Volume", initial_volume_percent, 0, 100, 0.5);
8+ g_object_set (volume_slider,
9+ "reverse-scroll-events", TRUE,
10+ NULL);
11
12 GtkMenuItem *menu_volume_slider = GTK_MENU_ITEM(volume_slider);
13 dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, menu_volume_slider, parent);

Subscribers

People subscribed via source and target branches