rev |
line source |
sygne@998
|
1 --- menu.c Sat May 17 16:40:24 2008
|
sygne@998
|
2 +++ menu2.c Thu Jun 12 01:37:41 2008
|
sygne@998
|
3 @@ -182,33 +182,10 @@
|
sygne@998
|
4 #define N_(x) x
|
sygne@998
|
5
|
sygne@998
|
6 static GtkItemFactoryEntry filer_menu_def[] = {
|
sygne@998
|
7 -{N_("Display"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
8 -{">" N_("Icons View"), NULL, view_type, VIEW_TYPE_COLLECTION, NULL},
|
sygne@998
|
9 -{">" N_("Icons, With..."), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
10 -{">>" N_("Sizes"), NULL, set_with, DETAILS_SIZE, NULL},
|
sygne@998
|
11 -{">>" N_("Permissions"), NULL, set_with, DETAILS_PERMISSIONS, NULL},
|
sygne@998
|
12 -{">>" N_("Types"), NULL, set_with, DETAILS_TYPE, NULL},
|
sygne@998
|
13 -{">>" N_("Times"), NULL, set_with, DETAILS_TIMES, NULL},
|
sygne@998
|
14 -{">" N_("List View"), NULL, view_type, VIEW_TYPE_DETAILS, "<StockItem>", ROX_STOCK_SHOW_DETAILS},
|
sygne@998
|
15 -{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
16 -{">" N_("Bigger Icons"), "equal", change_size, 1, "<StockItem>", GTK_STOCK_ZOOM_IN},
|
sygne@998
|
17 -{">" N_("Smaller Icons"), "minus", change_size, -1, "<StockItem>", GTK_STOCK_ZOOM_OUT},
|
sygne@998
|
18 -{">" N_("Automatic"), NULL, change_size_auto, 0, "<ToggleItem>"},
|
sygne@998
|
19 -{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
20 -{">" N_("Sort by Name"), NULL, set_sort, SORT_NAME, NULL},
|
sygne@998
|
21 -{">" N_("Sort by Type"), NULL, set_sort, SORT_TYPE, NULL},
|
sygne@998
|
22 -{">" N_("Sort by Date"), NULL, set_sort, SORT_DATE, NULL},
|
sygne@998
|
23 -{">" N_("Sort by Size"), NULL, set_sort, SORT_SIZE, NULL},
|
sygne@998
|
24 -{">" N_("Sort by Owner"), NULL, set_sort, SORT_OWNER, NULL},
|
sygne@998
|
25 -{">" N_("Sort by Group"), NULL, set_sort, SORT_GROUP, NULL},
|
sygne@998
|
26 -{">" N_("Reversed"), NULL, reverse_sort, 0, "<ToggleItem>"},
|
sygne@998
|
27 -{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
28 -{">" N_("Show Hidden"), "<Ctrl>H", hidden, 0, "<ToggleItem>"},
|
sygne@998
|
29 -{">" N_("Filter Files..."), NULL, mini_buffer, MINI_FILTER, NULL},
|
sygne@998
|
30 -{">" N_("Filter Directories With Files"), NULL, filter_directories, 0, "<ToggleItem>"},
|
sygne@998
|
31 -{">" N_("Show Thumbnails"), NULL, show_thumbs, 0, "<ToggleItem>"},
|
sygne@998
|
32 -{">" N_("Refresh"), NULL, refresh, 0, "<StockItem>", GTK_STOCK_REFRESH},
|
sygne@998
|
33 -{">" N_("Save Current Display Settings..."), NULL, save_settings, 0, NULL},
|
sygne@998
|
34 +{N_("New"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
35 +{">" N_("Directory"), NULL, new_directory, 0, NULL},
|
sygne@998
|
36 +{">" N_("Blank file"), NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
|
sygne@998
|
37 +{">" N_("Customise Menu..."), NULL, customise_new, 0, NULL},
|
sygne@998
|
38 {N_("File"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
39 {">" N_("Copy..."), "<Ctrl>C", file_op, FILE_COPY_ITEM, "<StockItem>", GTK_STOCK_COPY},
|
sygne@998
|
40 {">" N_("Rename..."), NULL, file_op, FILE_RENAME_ITEM, NULL},
|
sygne@998
|
41 @@ -233,10 +210,6 @@
|
sygne@998
|
42 {">" N_("Select by Name..."), "period", mini_buffer, MINI_SELECT_BY_NAME, NULL},
|
sygne@998
|
43 {">" N_("Select If..."), "<Shift>question", mini_buffer, MINI_SELECT_IF, NULL},
|
sygne@998
|
44 {N_("Options..."), NULL, menu_show_options, 0, "<StockItem>", GTK_STOCK_PREFERENCES},
|
sygne@998
|
45 -{N_("New"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
46 -{">" N_("Directory"), NULL, new_directory, 0, NULL},
|
sygne@998
|
47 -{">" N_("Blank file"), NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
|
sygne@998
|
48 -{">" N_("Customise Menu..."), NULL, customise_new, 0, NULL},
|
sygne@998
|
49 {N_("Window"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
50 {">" N_("Parent, New Window"), NULL, open_parent, 0, "<StockItem>", GTK_STOCK_GO_UP},
|
sygne@998
|
51 {">" N_("Parent, Same Window"), NULL, open_parent_same, 0, NULL},
|
sygne@998
|
52 @@ -254,6 +227,33 @@
|
sygne@998
|
53 {">" N_("Shell Command..."), "<Shift>exclam", mini_buffer, MINI_SHELL, NULL},
|
sygne@998
|
54 {">" N_("Terminal Here"), "grave", xterm_here, FALSE, NULL},
|
sygne@998
|
55 {">" N_("Switch to Terminal"), NULL, xterm_here, TRUE, NULL},
|
sygne@998
|
56 +{N_("Display"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
57 +{">" N_("Icons View"), NULL, view_type, VIEW_TYPE_COLLECTION, NULL},
|
sygne@998
|
58 +{">" N_("Icons, With..."), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
59 +{">>" N_("Sizes"), NULL, set_with, DETAILS_SIZE, NULL},
|
sygne@998
|
60 +{">>" N_("Permissions"), NULL, set_with, DETAILS_PERMISSIONS, NULL},
|
sygne@998
|
61 +{">>" N_("Types"), NULL, set_with, DETAILS_TYPE, NULL},
|
sygne@998
|
62 +{">>" N_("Times"), NULL, set_with, DETAILS_TIMES, NULL},
|
sygne@998
|
63 +{">" N_("List View"), NULL, view_type, VIEW_TYPE_DETAILS, "<StockItem>", ROX_STOCK_SHOW_DETAILS},
|
sygne@998
|
64 +{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
65 +{">" N_("Bigger Icons"), "equal", change_size, 1, "<StockItem>", GTK_STOCK_ZOOM_IN},
|
sygne@998
|
66 +{">" N_("Smaller Icons"), "minus", change_size, -1, "<StockItem>", GTK_STOCK_ZOOM_OUT},
|
sygne@998
|
67 +{">" N_("Automatic"), NULL, change_size_auto, 0, "<ToggleItem>"},
|
sygne@998
|
68 +{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
69 +{">" N_("Sort by Name"), NULL, set_sort, SORT_NAME, NULL},
|
sygne@998
|
70 +{">" N_("Sort by Type"), NULL, set_sort, SORT_TYPE, NULL},
|
sygne@998
|
71 +{">" N_("Sort by Date"), NULL, set_sort, SORT_DATE, NULL},
|
sygne@998
|
72 +{">" N_("Sort by Size"), NULL, set_sort, SORT_SIZE, NULL},
|
sygne@998
|
73 +{">" N_("Sort by Owner"), NULL, set_sort, SORT_OWNER, NULL},
|
sygne@998
|
74 +{">" N_("Sort by Group"), NULL, set_sort, SORT_GROUP, NULL},
|
sygne@998
|
75 +{">" N_("Reversed"), NULL, reverse_sort, 0, "<ToggleItem>"},
|
sygne@998
|
76 +{">", NULL, NULL, 0, "<Separator>"},
|
sygne@998
|
77 +{">" N_("Show Hidden"), "<Ctrl>H", hidden, 0, "<ToggleItem>"},
|
sygne@998
|
78 +{">" N_("Filter Files..."), NULL, mini_buffer, MINI_FILTER, NULL},
|
sygne@998
|
79 +{">" N_("Filter Directories With Files"), NULL, filter_directories, 0, "<ToggleItem>"},
|
sygne@998
|
80 +{">" N_("Show Thumbnails"), NULL, show_thumbs, 0, "<ToggleItem>"},
|
sygne@998
|
81 +{">" N_("Refresh"), NULL, refresh, 0, "<StockItem>", GTK_STOCK_REFRESH},
|
sygne@998
|
82 +{">" N_("Save Current Display Settings..."), NULL, save_settings, 0, NULL},
|
sygne@998
|
83 {N_("Help"), NULL, NULL, 0, "<Branch>"},
|
sygne@998
|
84 {">" N_("About ROX-Filer..."), NULL, menu_rox_help, HELP_ABOUT, NULL},
|
sygne@998
|
85 {">" N_("Show Help Files"), "F1", menu_rox_help, HELP_DIR, "<StockItem>", GTK_STOCK_HELP},
|