wok-current view rox-filer/stuff/menu.diff @ rev 3162

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