summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-04-14 18:04:04 +0800
committerLuke from DC <[email protected]>2023-04-21 05:17:59 +0000
commitbfad1975223ff5da6e998f3ad20fdc52e0fe94ca (patch)
treeb4ffc85f2e2d602b5391bfaa057ba9afd0148cfd /src/ui.h
parent9c8ab8787724da4603c023adf406d0d4909bb8de (diff)
downloadengrampa-bfad1975223ff5da6e998f3ad20fdc52e0fe94ca.tar.bz2
engrampa-bfad1975223ff5da6e998f3ad20fdc52e0fe94ca.tar.xz
action: Delete unused sort_by_entries code
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ui.h b/src/ui.h
index aef6b7e..ce77575 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -220,11 +220,6 @@ static GtkToggleActionEntry action_toggle_entries[] = {
N_("View the statusbar"),
G_CALLBACK (activate_action_view_statusbar),
TRUE },
- { "SortReverseOrder", NULL,
- N_("_Reversed Order"), NULL,
- N_("Reverse the list order"),
- G_CALLBACK (activate_action_sort_reverse_order),
- FALSE },
{ "ViewFolders", NULL,
N_("_Folders"), "F9",
N_("View the folders pane"),
@@ -243,25 +238,4 @@ static GtkRadioActionEntry view_as_entries[] = {
};
static guint n_view_as_entries = G_N_ELEMENTS (view_as_entries);
-static GtkRadioActionEntry sort_by_entries[] = {
- { "SortByName", NULL,
- N_("by _Name"), NULL,
- N_("Sort file list by name"), FR_WINDOW_SORT_BY_NAME },
- { "SortBySize", NULL,
- N_("by _Size"), NULL,
- N_("Sort file list by file size"), FR_WINDOW_SORT_BY_SIZE },
- { "SortByType", NULL,
- N_("by T_ype"), NULL,
- N_("Sort file list by type"), FR_WINDOW_SORT_BY_TYPE },
- { "SortByDate", NULL,
- N_("by _Date Modified"), NULL,
- N_("Sort file list by modification time"), FR_WINDOW_SORT_BY_TIME },
- { "SortByLocation", NULL,
- /* Translators: this is the "sort by file location" menu item */
- N_("by _Location"), NULL,
- /* Translators: location is the file location */
- N_("Sort file list by location"), FR_WINDOW_SORT_BY_PATH },
-};
-static guint n_sort_by_entries = G_N_ELEMENTS (sort_by_entries);
-
#endif /* UI_H */