[hafqa] [hafqa] [Bug 992] New: gtkrc updates for treeview

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Mon Jan 29 16:58:02 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=992

           Summary: gtkrc updates for treeview
           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


gtk 2.10 changed the rules for theming treeview row ends as well as removed the
changes related to active/passive focus drawing. sapwood 2.91.1 has been adapted
to accomodate those changes, and gtkrc also needs to be updated.

To paint the focused row background, the rules are as follows:
 function = FLAT_BOX
 state    = ACTIVE
 shadow   = NONE for active, OUT for passive focus

To handle the row endings differently, one should set
GtkTreeView::row-ending-details = 1 and use in addition the following details:
    #  detail = %s / %s_start / %s_middle / %s_end
    # where
    #  %s = "cell_odd_ruled_sorted"
    #     | "cell_even_ruled_sorted"
    #     | "cell_odd_ruled"
    #     | "cell_even_ruled"
    #     | "cell_odd_sorted"
    #     | "cell_even_sorted"
    #     | "cell_odd"
    #     | "cell_even"

Or more conveniently when the distinction between odd and even rows is not
interesting:
  detail = "*_start" (or "*_middle" or "*_end")

-- 
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