Commit e7bd038e authored by Nat Friedman's avatar Nat Friedman Committed by Nat Friedman
Browse files

Use the gnome-uidefs.h macros for the accelerators.

1999-01-06  Nat Friedman  <nat@nat.org>

	* src/workbook.c: Use the gnome-uidefs.h macros for the
 	accelerators.
parent ab7ae6f1
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the gnome-uidefs.h macros for the
accelerators.
1999-01-04 Havoc Pennington <hp@pobox.com>
* src/fn-date.c (gnumeric_date): Allocate the GDate on the stack,
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the gnome-uidefs.h macros for the
accelerators.
1999-01-04 Havoc Pennington <hp@pobox.com>
* src/fn-date.c (gnumeric_date): Allocate the GDate on the stack,
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the gnome-uidefs.h macros for the
accelerators.
1999-01-04 Havoc Pennington <hp@pobox.com>
* src/fn-date.c (gnumeric_date): Allocate the GDate on the stack,
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the gnome-uidefs.h macros for the
accelerators.
1999-01-04 Havoc Pennington <hp@pobox.com>
* src/fn-date.c (gnumeric_date): Allocate the GDate on the stack,
......
......@@ -659,13 +659,17 @@ filenames_dropped (GtkWidget * widget,
static GnomeUIInfo workbook_menu_file [] = {
{ GNOME_APP_UI_ITEM, N_("_New"), NULL, new_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_NEW, 'n', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_NEW,
GNOME_KEY_NAME_NEW, GNOME_KEY_MOD_NEW },
{ GNOME_APP_UI_ITEM, N_("_Open..."), NULL, open_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_OPEN, 'o', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_OPEN,
GNOME_KEY_NAME_OPEN, GNOME_KEY_MOD_OPEN },
{ GNOME_APP_UI_ITEM, N_("_Save"), NULL, save_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE, 's', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE,
GNOME_KEY_NAME_SAVE, GNOME_KEY_MOD_SAVE },
{ GNOME_APP_UI_ITEM, N_("Save _as..."), NULL, save_as_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE_AS },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE_AS,
GNOME_KEY_NAME_SAVE_AS, GNOME_KEY_MOD_SAVE_AS },
GNOMEUIINFO_SEPARATOR,
......@@ -674,9 +678,11 @@ static GnomeUIInfo workbook_menu_file [] = {
GNOMEUIINFO_SEPARATOR,
{ GNOME_APP_UI_ITEM, N_("_Close"), NULL, close_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_CLOSE, 'w', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_CLOSE,
GNOME_KEY_NAME_CLOSE, GNOME_KEY_MOD_CLOSE },
{ GNOME_APP_UI_ITEM, N_("E_xit"), NULL, quit_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_EXIT, 'q', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_EXIT,
GNOME_KEY_NAME_EXIT, GNOME_KEY_MOD_EXIT },
GNOMEUIINFO_END
};
......@@ -692,11 +698,14 @@ static GnomeUIInfo workbook_menu_edit_clear [] = {
static GnomeUIInfo workbook_menu_edit [] = {
{ GNOME_APP_UI_ITEM, N_("Cu_t"), NULL, cut_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_CUT, 'x', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_CUT,
GNOME_KEY_NAME_CUT, GNOME_KEY_MOD_CUT },
{ GNOME_APP_UI_ITEM, N_("_Copy"), NULL, copy_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_COPY, 'c', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_COPY,
GNOME_KEY_NAME_COPY, GNOME_KEY_MOD_COPY },
{ GNOME_APP_UI_ITEM, N_("_Paste"), NULL, paste_cmd, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_PASTE, 'v', GDK_CONTROL_MASK },
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_PASTE,
GNOME_KEY_NAME_PASTE, GNOME_KEY_MOD_PASTE },
{ GNOME_APP_UI_ITEM, N_("P_aste special..."), NULL, paste_special_cmd },
{ GNOME_APP_UI_SUBTREE, N_("C_lear"), NULL, workbook_menu_edit_clear },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment