2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
9 /* 'action's for menu_rox_help */
10 enum {HELP_ABOUT
, HELP_DIR
, HELP_MANUAL
};
12 typedef enum menu_icon_style
{
13 MIS_NONE
, MIS_SMALL
, MIS_LARGE
,
15 MIS_CURRENT
, /* As per current filer window */
19 extern GtkAccelGroup
*filer_keys
;
23 GtkItemFactory
*menu_create(GtkItemFactoryEntry
*def
, int n_entries
,
24 const gchar
*name
, GtkAccelGroup
*keys
);
25 void menu_set_items_shaded(GtkWidget
*menu
, gboolean shaded
, int from
, int n
);
26 void position_menu(GtkMenu
*menu
, gint
*x
, gint
*y
,
27 gboolean
*push_in
, gpointer data
);
28 void show_popup_menu(GtkWidget
*menu
, GdkEvent
*event
, int item
);
30 gboolean
ensure_filer_menu(void);
31 void show_filer_menu(FilerWindow
*filer_window
,
34 void menu_popdown(void);
35 GtkWidget
*make_send_to_item(DirItem
*ditem
, const char *label
,
38 /* Public menu handlers */
39 void menu_rox_help(gpointer data
, guint action
, GtkWidget
*widget
);
40 void menu_show_options(gpointer data
, guint action
, GtkWidget
*widget
);
41 void open_home(gpointer data
, guint action
, GtkWidget
*widget
);
42 void menu_show_shift_action(GtkWidget
*menu_item
, DirItem
*item
, gboolean next
);