[gnome-commander/ConfigurableFileListColumns: 3/26] Remove unused define statements, refactoring
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConfigurableFileListColumns: 3/26] Remove unused define statements, refactoring
- Date: Sun, 12 May 2019 13:18:09 +0000 (UTC)
commit 749680b6e8d409063731d96445cf8b5564a4f49e
Author: Uwe Scholz <u scholz83 gmx de>
Date: Tue Apr 30 21:48:00 2019 +0200
Remove unused define statements, refactoring
src/gnome-cmd-data.h | 20 --------------------
src/gnome-cmd-file-selector.cc | 3 ++-
2 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index 09698cae..54babdb7 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -228,26 +228,6 @@ GcmdSettings *gcmd_settings_new (void);
#define GCMD_PREF_PLUGINS "org.gnome.gnome-commander.plugins.general"
#define GCMD_SETTINGS_PLUGINS_AUTOLOAD "autoload"
-//gKeyFile constants
-#define DEVICES_FILENAME "devices"
-#define DEVICES_DEVICE "device"
-#define DEVICES_MOUNT_POINT "mount_point"
-#define DEVICES_ICON_PATH "icon_path"
-#define FAV_APPS_FILENAME "fav-apps"
-#define FAV_APPS_CMD "cmd"
-#define FAV_APPS_ICON "icon"
-#define FAV_APPS_PATTERN "pattern"
-#define FAV_APPS_TARGET "target"
-#define FAV_APPS_HANDLES_URIS "handles_uris"
-#define FAV_APPS_HANDLES_MULTIPLE "handles_multiple"
-#define FAV_APPS_REQUIRES_TERMINAL "requires_terminal"
-#define TABS_LAYOUT_FILENAME "file-list-tabs"
-#define TAB_PATH "path"
-#define TAB_FILESLECTORID "fileSelectorId"
-#define TAB_SORT "sort"
-#define TAB_ASC "asc"
-#define TAB_LOCK "lock"
-
struct GnomeCmdConRemote;
struct GnomeCmdData
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index a9191b92..987b39d5 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -1474,7 +1474,8 @@ gboolean GnomeCmdFileSelector::is_active()
}
-GtkWidget *GnomeCmdFileSelector::new_tab(GnomeCmdDir *dir, GnomeCmdFileList::ColumnID sort_col, GtkSortType
sort_order, gboolean locked, gboolean activate)
+GtkWidget *GnomeCmdFileSelector::new_tab(GnomeCmdDir *dir, GnomeCmdFileList::ColumnID sort_col,
+ GtkSortType sort_order, gboolean locked, gboolean activate)
{
// create the list
GnomeCmdFileList *fl = new GnomeCmdFileList(sort_col,sort_order);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]