GNOME Bugzilla – Bug 660538
ETable headers beautifications
Last modified: 2011-09-30 15:58:47 UTC
ETable headers don't look as good as GtkTreeView headers; as the ETable draw implementation uses deprecated methods to draw the buttons, themes can't easily customize it. Port the drawing code to GtkStyleContext, which also has the nice side effect of making everything more streamlined.
Created attachment 197844 [details] [review] ETableHeader: rework the header button drawing code for GTK+ 3 The code in ETable that draws the button headers is outdated, and uses deprecated gtk_paint_* functions mixed with cairo. Port the code to use the GtkStyleContext API, which allows themes to give the header the same appearance of a regular GtkTreeView header.
Created attachment 197845 [details] [review] ETableHeader: nuke unused code
Created attachment 197847 [details] improved table headers goodness
Created attachment 197848 [details] [review] ETableHeader: rework the header button drawing code for GTK+ 3 Right patch this time.
Awesome, thanks for this! Always happy to nuke ETable code... Committed both patches for 3.3.1: http://git.gnome.org/browse/evolution/commit/?id=b73a8f243ea4446f39012d7a64c107c25ff6d854 http://git.gnome.org/browse/evolution/commit/?id=4674fb54872a093b9e116de91e7122c42be735fa