[gtk+] GtkSettings: Fix theme not updating for dark theme
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSettings: Fix theme not updating for dark theme
- Date: Mon, 31 Jan 2011 02:22:21 +0000 (UTC)
commit 7f3aa920862bf18e23216d4bce975e805c7461e4
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 31 00:28:46 2011 +0000
GtkSettings: Fix theme not updating for dark theme
The theme was not updated when the "gtk-application-prefer-dark-theme"
GtkSettings property changed.
https://bugzilla.gnome.org/show_bug.cgi?id=640983
gtk/gtksettings.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 50c00be..5008f09 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1608,6 +1608,7 @@ gtk_settings_notify (GObject *object,
settings_update_color_scheme (settings);
gtk_style_context_reset_widgets (priv->screen);
break;
+ case PROP_APPLICATION_PREFER_DARK_THEME:
case PROP_THEME_NAME:
settings_update_theme (settings);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]