]> git.0d.be Git - empathy.git/commit
cell-renderer-expander: fix rendering with GTK+3
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 19 May 2011 14:11:44 +0000 (10:11 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 23 May 2011 13:55:26 +0000 (09:55 -0400)
commitd0e556d4cea9f4a12825eada17ab22648ee3fa9c
tree974e47758bf127a8e3b0d67d99f63ba23dbe85ac
parent380911d4b3da972b98e97eeb9935227657b01962
cell-renderer-expander: fix rendering with GTK+3

There are basically three issues here:
- the renderer doesn't add the GTK_STYLE_CLASS_EXPANDER style class when
  rendering, which blocks the theme to apply the intended colors.
- the GtkStateFlags that were set on the context were using GTK_STATE_*
  instead of GTK_STATE_FLAG_*
- the flags set on the context were incomplete, as they were just using
  ACTIVE/NORMAL for expanded/collapsed and not SELECTED/FOCUSED/...

https://bugzilla.gnome.org/show_bug.cgi?id=650590
libempathy-gtk/empathy-cell-renderer-expander.c