[gtk+/quartz-integration: 81/108] settings: Recompute styles when font name changes



commit 3492dce7530bc4e10399509be3d2afbeaa079b33
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]