4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
11 /* 'action's for menu_rox_help */
12 enum {HELP_ABOUT
, HELP_DIR
, HELP_MANUAL
};
14 extern GtkAccelGroup
*filer_keys
;
18 GtkItemFactory
*menu_create(GtkItemFactoryEntry
*def
, int n_entries
,
19 const gchar
*name
, GtkAccelGroup
*keys
);
20 void menu_set_items_shaded(GtkWidget
*menu
, gboolean shaded
, int from
, int n
);
21 void position_menu(GtkMenu
*menu
, gint
*x
, gint
*y
,
22 gboolean
*push_in
, gpointer data
);
23 void show_popup_menu(GtkWidget
*menu
, GdkEvent
*event
, int item
);
25 void ensure_filer_menu(void);
26 void show_filer_menu(FilerWindow
*filer_window
,
29 void menu_popdown(void);
31 /* Public menu handlers */
32 void menu_rox_help(gpointer data
, guint action
, GtkWidget
*widget
);
33 void menu_show_options(gpointer data
, guint action
, GtkWidget
*widget
);
34 void open_home(gpointer data
, guint action
, GtkWidget
*widget
);
35 void menu_show_shift_action(GtkWidget
*menu_item
, DirItem
*item
, gboolean next
);