This is a "quick-fix" for the mentioned problem. This patch changes
Totem's wheel behavior to volume control. The real solution should add a
preference, like a checkbox "Use mouse wheel to control volume" to
totem.ui, but I haven't found a way to edit toem.ui file properly (glade
didn't work). Then the following should be done in some way like
if(preference is use_wheel_for_volume) { new behavior } else { default
}...
--- src/totem-object.c 2010-04-14 12:35:45 +0000
+++ src/totem-object.c 2010-06-14 23:50:06 +0000
@@ -3748,10 +3748,12 @@
switch (direction) {
case GDK_SCROLL_UP:
- totem_action_seek_relative (totem, SEEK_FORWARD_SHORT_OFFSET *
1000);
+ //totem_action_seek_relative (totem, SEEK_FORWARD_SHORT_OFFSET
* 1000);
+ totem_action_volume_relative (totem, VOLUME_UP_OFFSET);
break;
case GDK_SCROLL_DOWN:
- totem_action_seek_relative (totem, SEEK_BACKWARD_SHORT_OFFSET *
1000);
+ //totem_action_seek_relative (totem, SEEK_BACKWARD_SHORT_OFFSET
* 1000);
+ totem_action_volume_relative (totem, VOLUME_DOWN_OFFSET);
break;
default:
retval = FALSE;
--
volume mouse wheel
https://bugs.launchpad.net/bugs/298044
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs