зеркало из https://github.com/mozilla/gecko-dev.git
Bug 287523 insensitive check/radio buttons can't be distinguished in some themes r+sr=bryner
This commit is contained in:
Родитель
d45fad9a1c
Коммит
b7f0d3876c
|
@ -592,6 +592,11 @@ moz_gtk_toggle_paint(GdkDrawable* drawable, GdkRectangle* rect,
|
||||||
else
|
else
|
||||||
GTK_WIDGET_UNSET_FLAGS(w, GTK_HAS_FOCUS);
|
GTK_WIDGET_UNSET_FLAGS(w, GTK_HAS_FOCUS);
|
||||||
|
|
||||||
|
if (state_type != GTK_STATE_INSENSITIVE)
|
||||||
|
GTK_WIDGET_SET_FLAGS(w, GTK_SENSITIVE);
|
||||||
|
else
|
||||||
|
GTK_WIDGET_UNSET_FLAGS(w, GTK_SENSITIVE);
|
||||||
|
|
||||||
GTK_TOGGLE_BUTTON(w)->active = selected;
|
GTK_TOGGLE_BUTTON(w)->active = selected;
|
||||||
|
|
||||||
if (isradio) {
|
if (isradio) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче