ghack_accelerator_selected, GINT_TO_POINTER(M('v')), NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_ABOUT,'v',GDK_MOD1_MASK }, { GNOME_APP_UI_ITEM, N_("Options..."), NULL, ghack_accelerator_selected, GINT_TO_POINTER('O'), NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_PREF, 'O', GDK_SHIFT_MASK }, { GNOME_APP_UI_ITEM, N_("Explore Mode..."), NULL, ghack_accelerator_selected, GINT_TO_POINTER('X'), NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_QUIT, 'X', GDK_SHIFT_MASK }, GNOMEUIINFO_SEPARATOR, GNOMEUIINFO_MENU_NEW_GAME_ITEM(ghack_new_game_cb, NULL), GNOMEUIINFO_MENU_SAVE_ITEM(ghack_save_game_cb, NULL), { GNOME_APP_UI_ITEM, N_("Exit"), NULL, ghack_quit_game_cb, GINT_TO_POINTER(M('Q')), NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_ABOUT, 'Q', GDK_MOD1_MASK }, GNOMEUIINFO_END }; GnomeUIInfo edit_menu[] = { { GNOME_APP_UI_ITEM, N_("Inventory"), N_("Edit/View your Inventory"), ghack_accelerator_selected, GINT_TO_POINTER('i'), NULL, GNOME_APP_PIXMAP_NONE, NULL, 'i', 0
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "menus.h" /* #include "text.xpm" */ /* #include "box2.xpm" */ /* #include "circle2.xpm" */ /* #include "gnome-note.xpm" */ /* ------------------------------------------------------ */ static GnomeUIInfo file_menu [] = { GNOMEUIINFO_MENU_OPEN_ITEM(cb_file_load_dialog, NULL), GNOMEUIINFO_MENU_SAVE_ITEM(cb_save_file, NULL), GNOMEUIINFO_MENU_SAVE_AS_ITEM(cb_file_save_dialog, NULL), #ifdef USE_GNOME_PRINT { GNOME_APP_UI_ITEM, N_("Page setup"), N_("Select paper dimensions"), cb_page_setup, NULL, NULL, 0, 0, (gchar) NULL, GDK_CONTROL_MASK }, GNOMEUIINFO_MENU_PRINT_ITEM(cb_print_notes, NULL), #endif /* USE_GNOME_PRINT */ GNOMEUIINFO_SEPARATOR, GNOMEUIINFO_MENU_CLOSE_ITEM(cb_close, NULL), /* GNOMEUIINFO_MENU_EXIT_ITEM(cb_exit, NULL), */ GNOMEUIINFO_END }; static GnomeUIInfo add_menu [] =