From ca082205609dc7f7235340d638e405a9952b4a7c Mon Sep 17 00:00:00 2001 From: JosephMcc Date: Thu, 19 Jan 2017 00:13:56 -0800 Subject: [PATCH] xed-preferences-dialog: Fix a setting having the wrong sensitiviy The font chooser sensitivity was backwards --- xed/dialogs/xed-preferences-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xed/dialogs/xed-preferences-dialog.c b/xed/dialogs/xed-preferences-dialog.c index 0469f17..4a4f111 100755 --- a/xed/dialogs/xed-preferences-dialog.c +++ b/xed/dialogs/xed-preferences-dialog.c @@ -375,7 +375,7 @@ on_use_default_font_changed (GSettings *settings, xed_debug (DEBUG_PREFS); value = g_settings_get_boolean (settings, key); - gtk_widget_set_sensitive (dlg->priv->font_hbox, value); + gtk_widget_set_sensitive (dlg->priv->font_hbox, !value); } static void @@ -426,7 +426,7 @@ setup_font_colors_page_font_section (XedPreferencesDialog *dlg) G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET); /* Set initial widget sensitivity */ - gtk_widget_set_sensitive (dlg->priv->font_hbox, use_default_font); + gtk_widget_set_sensitive (dlg->priv->font_hbox, !use_default_font); } static void