Comment 6 for bug 594629

Thiago Teixeira (tvst) wrote :

More info about gtkrc themeing:

Cardapio now plays nice with gtkrc themes. Of course, as a native GTK app, Cardapio was *always* themeable -- but now it make themers' lives easier by assigning names to the most important widgets.

The reason why this feature was not present before is because of a bug in Glade (http://lists-archives.org/gtk/11497-gtk-2-20-glade-and-name-object-property.html), but I bypassed it in the Python code. For future reference, the exact piece of code that fixed this was:

for widget in self.builder.get_objects():
    if 'set_name' in dir(widget):
        widget.set_name(gtk.Buildable.get_name(widget))

If you find any bugs, please open a new bug report. Thanks!