PDA

View Full Version : What widget does ccsm use to display the list of plugins?


enigma_0Z
February 4th, 2008, 12:52 AM
I'm trying to figure out what widget ccsm uses to display the main list of plugins, and although I looked through the source, I'm not sure what widget it is.

The reason I need it is I'm trying to diagnose a bug with the qtcurve theme--that widget does not receive a border--it's rather ugly and unthemed.

Thanks.

Deciare
February 4th, 2008, 01:35 AM
I am not at all familiar with Gtk, but with a bit of trial and error in ccsm's source code, it seems probable that the border that QtCurve fails to draw belongs to a gtk.ScrolledWindow (http://www.pygtk.org/pygtk2reference/class-gtkscrolledwindow.html) widget.

enigma_0Z
February 4th, 2008, 02:29 AM
I am not at all familiar with Gtk, but with a bit of trial and error in ccsm's source code, it seems probable that the border that QtCurve fails to draw belongs to a gtk.ScrolledWindow (http://www.pygtk.org/pygtk2reference/class-gtkscrolledwindow.html) widget.

Hmm, that's what I was afraid of.

Thanks.

crdlb
February 4th, 2008, 03:46 AM
Could you post a screenshot?

enigma_0Z
February 5th, 2008, 02:59 PM
Sure. I've got some on a ubuntuforums thread... it is here:

http://ubuntuforums.org/showthread.php?t=684284

Here's the screens:

Clearlooks theme (as an example):
http://img227.imageshack.us/img227/7464/screenshot2bs2.th.png (http://img227.imageshack.us/my.php?image=screenshot2bs2.png)

Clearlooks I believe puts square borders around everything anyways...

QtCurve with "Clear" style:
http://img530.imageshack.us/img530/953/screenshot3pc5.th.png (http://img530.imageshack.us/my.php?image=screenshot3pc5.png)

As you can see, the white box with the plugin selector is barely noticeable because there's no border.

I really think that is is a qtcurve problem... so I'm pursuing it that way, but you can see the unthemed widget in the second screenshot.