[gnome-commander/GSettings] noop: Removes comment



commit 30eca71d630ec2941461121711de3caf36d5d49d
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Aug 6 11:59:30 2016 +0200

    noop: Removes comment

 src/gnome-cmd-data.cc |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index b3aca3b..7c6c8cc 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -2611,28 +2611,8 @@ void GnomeCmdData::migrate_all_data_to_gsettings()
 {
     guint temp_value;
     options.gcmd_settings = gcmd_settings_new();
-    gchar *xml_cfg_path = config_dir ? g_build_filename (config_dir, PACKAGE ".xml", NULL) : 
g_build_filename (g_get_home_dir (), "." PACKAGE, PACKAGE ".xml", NULL);
     gchar *package_config_path = gnome_config_get_real_path(PACKAGE);
 
-    //TODO: migrate xml stuff
-    /////////////////////////////////////////////////////////////
-    //// Data migration from .gnome-commander/gnome-commander.xml
-    /////////////////////////////////////////////////////////////
-    //FILE *fd = fopen (xml_cfg_path, "r");
-    //if (fd)
-    //{
-    //    // TODO: Data migration from xml-file
-    //    fclose (fd);
-    //
-    //}
-    //else
-    //{
-    //    g_warning ("Failed to open the file %s for reading, skipping data migration", xml_cfg_path);
-    //
-    //    options.size_disp_mode = (GnomeCmdSizeDispMode) g_settings_get_int (gcmd_settings->general, 
GCMD_SETTINGS_SIZE_DISP_MODE);
-    //}
-    g_free (xml_cfg_path);
-
     ///////////////////////////////////////////////////////////////////////
     // Data migration from .gnome2/gnome-commander, created by gnome_config
     ///////////////////////////////////////////////////////////////////////


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