Re: Gnome panel hacking



2007/6/19, Vincent Untz <vuntz gnome org>:

The bug you're interested in is in libwnck, not in the applet itself.
The applet is using the WnckTasklist widget, which does most of the
work.


Many thanks for your help :-)

Ok so here I am, I added a size limit to the task list buttons, set it
to 100 and I'm happy with it right now.

It means add the following line in the wnck_task_create_widgets
function in tasklist.c:
gtk_widget_set_size_request( task->button, 100, 100);


Here's the screenshot:
http://boby.joe.free.fr/files/panel-fixed.png

1) and 2) are from the old code. The difference between both is a
window title name change.

3) with the size_request added. I just don't need to throw in another
screenshot from this one, because window title name change doesn't
change the button size. And it's a good feeling.


But now I'm worried. What about those people who just want the button
to get the maximum size when there is space available.
I'm refering to some old closed bugs
http://bugzilla.gnome.org/show_bug.cgi?id=160977
http://bugs.gentoo.org/show_bug.cgi?id=93633


My idea is to add a preference which should say if we want to use
fixed size for the buttons or maximum available size.


By the way I know it's not a fix for the migthy beast[1] indeed I
don't care about the fame.
[1] http://bugzilla.gnome.org/show_bug.cgi?id=310809



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]