[gtk+] settings: Recompute styles when font name changes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] settings: Recompute styles when font name changes
- Date: Sun, 1 May 2011 06:03:23 +0000 (UTC)
commit 27a661143ef360408870e771692bad4a77df78b1
Author: Benjamin Otte <otte redhat com>
Date: Sun May 1 04:15:42 2011 +0200
settings: Recompute styles when font name changes
gtk/gtksettings.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 2599607..fe5383d 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1631,6 +1631,9 @@ gtk_settings_notify (GObject *object,
settings_update_color_scheme (settings);
gtk_style_context_reset_widgets (priv->screen);
break;
+ case PROP_FONT_NAME:
+ gtk_style_context_reset_widgets (priv->screen);
+ break;
case PROP_KEY_THEME_NAME:
settings_update_key_theme (settings);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]