[gnome-commander/GSettings] Changes a default value at migration



commit 0e96d0344594e0ce76fdf942011ecffbf5aff61a
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Jun 4 21:39:47 2016 +0200

    Changes a default value at migration

 src/gnome-cmd-data.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index a810c7d..cd569b8 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1785,7 +1785,7 @@ void GnomeCmdData::migrate_all_data_to_gsettings()
         migrate_data_int_value_into_gsettings(gnome_cmd_data_get_bool ("/options/list_orientation", FALSE) ? 
1 : 0,
                                                         options.gcmd_settings->general, 
GCMD_SETTINGS_HORIZONTAL_ORIENTATION);
         //conbuttons_visibility
-        migrate_data_int_value_into_gsettings(gnome_cmd_data_get_bool ("/options/conbuttons_visibility", 
FALSE) ? 1 : 0,
+        migrate_data_int_value_into_gsettings(gnome_cmd_data_get_bool ("/options/conbuttons_visibility", 
TRUE) ? 1 : 0,
                                                         options.gcmd_settings->general, 
GCMD_SETTINGS_SHOW_DEVBUTTONS);
         // ToDo: Move old xml-file to ~/.gnome-commander/gnome-commander.xml.backup
         //       à la save_devices_old ("devices.backup");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]