[hafqa] [hafqa] [Bug 948] New: gtkrc is unfriendly for widget derivatives

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Mon Jan 15 20:42:31 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=948

           Summary: gtkrc is unfriendly for widget derivatives
           Product: haf
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sapwood
        AssignedTo: michael.kostrzewa at nokia.com
        ReportedBy: tommi.komulainen at nokia.com
         QAContact: hafqa at maemo.org


The gtkrc has quite a few declarations using 'widget_class' which (prior to
2.10) fails to properly take into account derived widgets. Given for example the
following:
  widget_class "*.GtkToolButton.GtkButton" style "osso-toolbutton"

It fails to apply the 'osso-toolbutton' style correctly to the widgets if one is
using custom widget derived from GtkToolButton or GtkButton.


With gtk+ 2.10 the above could be better written as:
  widget_class "*.<GtkToolButton>.<GtkButton>" style "osso-toolbutton"

http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html


It seems there are applications working around the derivation problem by
referring directly to the styles by name ("osso-toolbutton" and similar) from
the code. In order to verify changes to gtkrc correctly remove the need for
current workarounds, we need to rename all style names at least temporarily...

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list