settings: Recompute styles when font name changes

This commit is contained in:
Benjamin Otte 2011-05-01 04:15:42 +02:00
parent 22a1bd6d6b
commit 27a661143e

View File

@ -1631,6 +1631,9 @@ gtk_settings_notify (GObject *object,
settings_update_color_scheme (settings); settings_update_color_scheme (settings);
gtk_style_context_reset_widgets (priv->screen); gtk_style_context_reset_widgets (priv->screen);
break; break;
case PROP_FONT_NAME:
gtk_style_context_reset_widgets (priv->screen);
break;
case PROP_KEY_THEME_NAME: case PROP_KEY_THEME_NAME:
settings_update_key_theme (settings); settings_update_key_theme (settings);
break; break;