wok-6.x diff rox-filer/stuff/menu.diff @ rev 8723

Temp fix waiting sources on mirror for some taz tools, make tank able to cook last version with older tools
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Feb 18 19:05:02 2011 +0100 (2011-02-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rox-filer/stuff/menu.diff	Fri Feb 18 19:05:02 2011 +0100
     1.3 @@ -0,0 +1,85 @@
     1.4 +--- menu.c	Sat May 17 16:40:24 2008
     1.5 ++++ menu2.c	Thu Jun 12 01:37:41 2008
     1.6 +@@ -182,33 +182,10 @@
     1.7 + #define N_(x) x
     1.8 + 
     1.9 + static GtkItemFactoryEntry filer_menu_def[] = {
    1.10 +-{N_("Display"),			NULL, NULL, 0, "<Branch>"},
    1.11 +-{">" N_("Icons View"),   	NULL, view_type, VIEW_TYPE_COLLECTION, NULL},
    1.12 +-{">" N_("Icons, With..."),	NULL, NULL, 0, "<Branch>"},
    1.13 +-{">>" N_("Sizes"),		NULL, set_with, DETAILS_SIZE, NULL},
    1.14 +-{">>" N_("Permissions"),	NULL, set_with, DETAILS_PERMISSIONS, NULL},
    1.15 +-{">>" N_("Types"),		NULL, set_with, DETAILS_TYPE, NULL},
    1.16 +-{">>" N_("Times"),		NULL, set_with, DETAILS_TIMES, NULL},
    1.17 +-{">" N_("List View"),   	NULL, view_type, VIEW_TYPE_DETAILS, "<StockItem>", ROX_STOCK_SHOW_DETAILS},
    1.18 +-{">",				NULL, NULL, 0, "<Separator>"},
    1.19 +-{">" N_("Bigger Icons"),   	"equal", change_size, 1, "<StockItem>", GTK_STOCK_ZOOM_IN},
    1.20 +-{">" N_("Smaller Icons"),   	"minus", change_size, -1, "<StockItem>", GTK_STOCK_ZOOM_OUT},
    1.21 +-{">" N_("Automatic"),   	NULL, change_size_auto, 0, "<ToggleItem>"},
    1.22 +-{">",				NULL, NULL, 0, "<Separator>"},
    1.23 +-{">" N_("Sort by Name"),	NULL, set_sort, SORT_NAME, NULL},
    1.24 +-{">" N_("Sort by Type"),	NULL, set_sort, SORT_TYPE, NULL},
    1.25 +-{">" N_("Sort by Date"),	NULL, set_sort, SORT_DATE, NULL},
    1.26 +-{">" N_("Sort by Size"),	NULL, set_sort, SORT_SIZE, NULL},
    1.27 +-{">" N_("Sort by Owner"),	NULL, set_sort, SORT_OWNER, NULL},
    1.28 +-{">" N_("Sort by Group"),	NULL, set_sort, SORT_GROUP, NULL},
    1.29 +-{">" N_("Reversed"),		NULL, reverse_sort, 0, "<ToggleItem>"},
    1.30 +-{">",				NULL, NULL, 0, "<Separator>"},
    1.31 +-{">" N_("Show Hidden"),   	"<Ctrl>H", hidden, 0, "<ToggleItem>"},
    1.32 +-{">" N_("Filter Files..."),   	NULL, mini_buffer, MINI_FILTER, NULL},
    1.33 +-{">" N_("Filter Directories With Files"),	NULL, filter_directories, 0, "<ToggleItem>"},
    1.34 +-{">" N_("Show Thumbnails"),	NULL, show_thumbs, 0, "<ToggleItem>"},
    1.35 +-{">" N_("Refresh"),		NULL, refresh, 0, "<StockItem>", GTK_STOCK_REFRESH},
    1.36 +-{">" N_("Save Current Display Settings..."),	 NULL, save_settings, 0, NULL},
    1.37 ++{N_("New"),			NULL, NULL, 0, "<Branch>"},
    1.38 ++{">" N_("Directory"),		NULL, new_directory, 0, NULL},
    1.39 ++{">" N_("Blank file"),		NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
    1.40 ++{">" N_("Customise Menu..."),	NULL, customise_new, 0, NULL},
    1.41 + {N_("File"),			NULL, NULL, 0, "<Branch>"},
    1.42 + {">" N_("Copy..."),		"<Ctrl>C", file_op, FILE_COPY_ITEM, "<StockItem>", GTK_STOCK_COPY},
    1.43 + {">" N_("Rename..."),		NULL, file_op, FILE_RENAME_ITEM, NULL},
    1.44 +@@ -233,10 +210,6 @@
    1.45 + {">" N_("Select by Name..."),	"period", mini_buffer, MINI_SELECT_BY_NAME, NULL},
    1.46 + {">" N_("Select If..."),	"<Shift>question", mini_buffer, MINI_SELECT_IF, NULL},
    1.47 + {N_("Options..."),		NULL, menu_show_options, 0, "<StockItem>", GTK_STOCK_PREFERENCES},
    1.48 +-{N_("New"),			NULL, NULL, 0, "<Branch>"},
    1.49 +-{">" N_("Directory"),		NULL, new_directory, 0, NULL},
    1.50 +-{">" N_("Blank file"),		NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
    1.51 +-{">" N_("Customise Menu..."),	NULL, customise_new, 0, NULL},
    1.52 + {N_("Window"),			NULL, NULL, 0, "<Branch>"},
    1.53 + {">" N_("Parent, New Window"), 	NULL, open_parent, 0, "<StockItem>", GTK_STOCK_GO_UP},
    1.54 + {">" N_("Parent, Same Window"), NULL, open_parent_same, 0, NULL},
    1.55 +@@ -254,6 +227,33 @@
    1.56 + {">" N_("Shell Command..."),	"<Shift>exclam", mini_buffer, MINI_SHELL, NULL},
    1.57 + {">" N_("Terminal Here"),	"grave", xterm_here, FALSE, NULL},
    1.58 + {">" N_("Switch to Terminal"),	NULL, xterm_here, TRUE, NULL},
    1.59 ++{N_("Display"),			NULL, NULL, 0, "<Branch>"},
    1.60 ++{">" N_("Icons View"),   	NULL, view_type, VIEW_TYPE_COLLECTION, NULL},
    1.61 ++{">" N_("Icons, With..."),	NULL, NULL, 0, "<Branch>"},
    1.62 ++{">>" N_("Sizes"),		NULL, set_with, DETAILS_SIZE, NULL},
    1.63 ++{">>" N_("Permissions"),	NULL, set_with, DETAILS_PERMISSIONS, NULL},
    1.64 ++{">>" N_("Types"),		NULL, set_with, DETAILS_TYPE, NULL},
    1.65 ++{">>" N_("Times"),		NULL, set_with, DETAILS_TIMES, NULL},
    1.66 ++{">" N_("List View"),   	NULL, view_type, VIEW_TYPE_DETAILS, "<StockItem>", ROX_STOCK_SHOW_DETAILS},
    1.67 ++{">",				NULL, NULL, 0, "<Separator>"},
    1.68 ++{">" N_("Bigger Icons"),   	"equal", change_size, 1, "<StockItem>", GTK_STOCK_ZOOM_IN},
    1.69 ++{">" N_("Smaller Icons"),   	"minus", change_size, -1, "<StockItem>", GTK_STOCK_ZOOM_OUT},
    1.70 ++{">" N_("Automatic"),   	NULL, change_size_auto, 0, "<ToggleItem>"},
    1.71 ++{">",				NULL, NULL, 0, "<Separator>"},
    1.72 ++{">" N_("Sort by Name"),	NULL, set_sort, SORT_NAME, NULL},
    1.73 ++{">" N_("Sort by Type"),	NULL, set_sort, SORT_TYPE, NULL},
    1.74 ++{">" N_("Sort by Date"),	NULL, set_sort, SORT_DATE, NULL},
    1.75 ++{">" N_("Sort by Size"),	NULL, set_sort, SORT_SIZE, NULL},
    1.76 ++{">" N_("Sort by Owner"),	NULL, set_sort, SORT_OWNER, NULL},
    1.77 ++{">" N_("Sort by Group"),	NULL, set_sort, SORT_GROUP, NULL},
    1.78 ++{">" N_("Reversed"),		NULL, reverse_sort, 0, "<ToggleItem>"},
    1.79 ++{">",				NULL, NULL, 0, "<Separator>"},
    1.80 ++{">" N_("Show Hidden"),   	"<Ctrl>H", hidden, 0, "<ToggleItem>"},
    1.81 ++{">" N_("Filter Files..."),   	NULL, mini_buffer, MINI_FILTER, NULL},
    1.82 ++{">" N_("Filter Directories With Files"),	NULL, filter_directories, 0, "<ToggleItem>"},
    1.83 ++{">" N_("Show Thumbnails"),	NULL, show_thumbs, 0, "<ToggleItem>"},
    1.84 ++{">" N_("Refresh"),		NULL, refresh, 0, "<StockItem>", GTK_STOCK_REFRESH},
    1.85 ++{">" N_("Save Current Display Settings..."),	 NULL, save_settings, 0, NULL},
    1.86 + {N_("Help"),			NULL, NULL, 0, "<Branch>"},
    1.87 + {">" N_("About ROX-Filer..."),	NULL, menu_rox_help, HELP_ABOUT, NULL},
    1.88 + {">" N_("Show Help Files"),	"F1", menu_rox_help, HELP_DIR, "<StockItem>", GTK_STOCK_HELP},