4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
11 #define MENU_MARGIN 32
13 extern GtkAccelGroup
*filer_keys
;
14 extern GtkWidget
*popup_menu
;
15 extern char *xterm_here_value
;
17 extern GtkWidget
*display_large_menu
; /* Display->Large With... */
18 extern GtkWidget
*display_small_menu
; /* Display->Small With... */
22 GtkWidget
*create_menu_options(void);
23 void menu_update_options(void);
24 void menu_set_options(void);
25 void menu_save_options(void);
27 void show_filer_menu(FilerWindow
*filer_window
, GdkEventButton
*event
,
29 GtkWidget
*menu_create(GtkItemFactoryEntry
*def
, int n_entries
, guchar
*name
);
30 void menu_set_items_shaded(GtkWidget
*menu
, gboolean shaded
, int from
, int n
);
31 void show_style_menu(FilerWindow
*filer_window
,
32 GdkEventButton
*event
,
34 void position_menu(GtkMenu
*menu
, gint
*x
, gint
*y
, gpointer data
);
36 /* Public menu handlers */
37 void menu_rox_help(gpointer data
, guint action
, GtkWidget
*widget
);
38 void menu_show_options(gpointer data
, guint action
, GtkWidget
*widget
);
39 void open_home(gpointer data
, guint action
, GtkWidget
*widget
);