[gnome-commander/get_rid_of_xml] noop: Use define string



commit e87b5270fcf37d57e374e7203bf9b77558899be3
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Nov 18 17:19:36 2018 +0100

    noop: Use define string

 src/gnome-cmd-data.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 577715ff..8720f49c 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1822,7 +1822,7 @@ static void save_tabs_via_gsettings(GSettings *gSettings, const char *gSettingsK
                 GnomeCmdFileList *fl = (GnomeCmdFileList *) gtk_bin_get_child (GTK_BIN (i->data));
                 if (GNOME_CMD_FILE_LIST (fl) && gnome_cmd_con_is_local (fl->con))
                 {
-                    g_variant_builder_add (&gVariantBuilder, "(syybb)",
+                    g_variant_builder_add (&gVariantBuilder, GCMD_SETTINGS_FILE_LIST_TAB_FORMAT_STRING,
                                             GNOME_CMD_FILE (fl->cwd)->get_real_path(),
                                             (guchar) fileSelectorId,
                                             fl->get_sort_column(),
@@ -1837,7 +1837,7 @@ static void save_tabs_via_gsettings(GSettings *gSettings, const char *gSettingsK
                     GnomeCmdFileList *fl = (GnomeCmdFileList *) gtk_bin_get_child (GTK_BIN (i->data));
                     if (GNOME_CMD_FILE_LIST (fl) && gnome_cmd_con_is_local (fl->con) && 
(fl==gnomeCmdFileSelector.file_list() || fl->locked))
                     {
-                        g_variant_builder_add (&gVariantBuilder, "(syybb)",
+                        g_variant_builder_add (&gVariantBuilder, GCMD_SETTINGS_FILE_LIST_TAB_FORMAT_STRING,
                                                 GNOME_CMD_FILE (fl->cwd)->get_real_path(),
                                                 (guchar) fileSelectorId,
                                                 fl->get_sort_column(),
@@ -1850,7 +1850,7 @@ static void save_tabs_via_gsettings(GSettings *gSettings, const char *gSettingsK
                     GnomeCmdFileList *fl = (GnomeCmdFileList *) gtk_bin_get_child (GTK_BIN (i->data));
                     if (GNOME_CMD_FILE_LIST (fl) && gnome_cmd_con_is_local (fl->con) && fl->locked)
                     {
-                        g_variant_builder_add (&gVariantBuilder, "(syybb)",
+                        g_variant_builder_add (&gVariantBuilder, GCMD_SETTINGS_FILE_LIST_TAB_FORMAT_STRING,
                                                 GNOME_CMD_FILE (fl->cwd)->get_real_path(),
                                                 (guchar) fileSelectorId,
                                                 fl->get_sort_column(),


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