comparison src/view_dir.c @ 402:f6046e1b3622

Add a shortcut key for List (L) and change the one for Tree (T), they are now in a submenu.
author zas_
date Thu, 17 Apr 2008 20:14:49 +0000
parents 0a2e1b130a25
children 7840ccc95aee
comparison
equal deleted inserted replaced
401:0a2e1b130a25 402:f6046e1b3622
24 #include "utilops.h" 24 #include "utilops.h"
25 #include "view_dir_list.h" 25 #include "view_dir_list.h"
26 #include "view_dir_tree.h" 26 #include "view_dir_tree.h"
27 27
28 GtkRadioActionEntry menu_view_dir_radio_entries[] = { 28 GtkRadioActionEntry menu_view_dir_radio_entries[] = {
29 { "FolderList", NULL, N_("List"), "<meta>L", NULL, DIRVIEW_LIST }, 29 { "FolderList", NULL, N_("_List"), "<meta>L", NULL, DIRVIEW_LIST },
30 { "FolderTree", NULL, N_("Tr_ee"), "<control>T", NULL, DIRVIEW_TREE }, 30 { "FolderTree", NULL, N_("_Tree"), "<control>T", NULL, DIRVIEW_TREE },
31 }; 31 };
32 32
33 static void vd_destroy_cb(GtkWidget *widget, gpointer data) 33 static void vd_destroy_cb(GtkWidget *widget, gpointer data)
34 { 34 {
35 ViewDir *vd = data; 35 ViewDir *vd = data;