This proof-of-concept patch registers a boolean option at
/apps/panel/global/tasklist_mousewheel, in which a true setting turns on
the mousewheel capability and the false option turns it off.  There is
not yet a "gconf schema" for it and I am not sure if the gconf option
was added in the right place, but nevertheless it demonstrates the
option requested in this bug.

A few caveats:

1) it should probably be a per-panel option, stored in 
/apps/panel/applets/window_list_screenX/prefs where X is the number of the 
screen upon which the window tasklist is shown.  That would make it consistent 
with the other panel options;
2) there needs to be a GUI option added to the gnome-panel preferences applet 
to toggle the flag;
3) as mentioned earlier, it needs a default value and a gconf schema and I 
don't know exactly what the schema is;
4) make sure that the implementation is optimal.  Right now, the tasklist 
constructor (tasklist.c) is returning a global variable of the tasklist GTK 
object, because I don't know what called the tasklist constructor.  The 
tasklist GTK object needs to be stored because the signal needs to be connected 
and disconnected upon callback of the gconf notification;
5) ensure that the dependency gconf-2.0 (libgconf2-dev) was added correctly to 
configure.in, control.in, and anything else that may need it.  I don't know the 
minimal version of the package to specify: I assume any gconf-2.0 will work so 
this is how the dependency was added for the time being.  And I know it's 
required for Build-Depends, but I don't know if it needs to be in the Depends 
for the generated libwnck-dev package as it currently is.

Please see libwnck under my PPA to test it for Karmic Koala:
https://launchpad.net/~xt-knight/+archive/ppa

You do not need to relink gnome-panel against it.  Simply install the
deb packages for libwnck and run "killall gnome-panel && gnome-panel".
Then add the boolean gconf key.  Changes should take effect immediately.

** Attachment added: "debdiff karmic (option edition) v1"
   http://launchpadlibrarian.net/27850858/libwnck_2.26.0-0ubuntu2_option.debdiff

-- 
Offer option to disable scroll wheel on task list
https://bugs.launchpad.net/bugs/39328
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to