From ae531e666c882b6a0903810e2f0dfae0d3570c61 Mon Sep 17 00:00:00 2001 From: Stephan Arts Date: Sat, 14 Apr 2012 22:39:56 +0200 Subject: [PATCH] Use the correct default value for the 'show thumbnails' checkbox The default value when this property is not set, is 'TRUE'. the bind operation defaults to 'FALSE' for unset boolean properties. Make the checkbox correspond to the default behaviour. --- settings/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings/main.c b/settings/main.c index 74e7172..1ebad7c 100644 --- a/settings/main.c +++ b/settings/main.c @@ -1323,6 +1323,13 @@ xfdesktop_settings_dialog_add_screens(GtkBuilder *main_gxml, chk_show_thumbnails = GTK_WIDGET(gtk_builder_get_object(main_gxml, "chk_show_thumbnails")); + /* The default value when this property is not set, is 'TRUE'. + * the bind operation defaults to 'FALSE' for unset boolean properties. + * + * Make the checkbox correspond to the default behaviour. + */ + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(chk_show_thumbnails), + TRUE); nscreens = gdk_display_get_n_screens(gdk_display_get_default()); -- 1.7.10