b=528769 revert predicate for drawing button due to buttons not visually depressing r=roc

This commit is contained in:
Karl Tomlinson 2009-11-27 13:23:40 +13:00
parent 3e31a49e93
commit 1d68719f4b

View File

@ -990,7 +990,8 @@ moz_gtk_button_paint(GdkDrawable* drawable, GdkRectangle* rect,
}
if (relief != GTK_RELIEF_NONE || state->depressed ||
button_state == GTK_STATE_PRELIGHT) {
(button_state != GTK_STATE_NORMAL &&
button_state != GTK_STATE_INSENSITIVE)) {
TSOffsetStyleGCs(style, x, y);
/* the following line can trigger an assertion (Crux theme)
file ../../gdk/gdkwindow.c: line 1846 (gdk_window_clear_area):