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

Use the standard GNOMEUIINFO macros from gnome-app-helper.h.

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

        * src/workbook.c: Use the standard GNOMEUIINFO macros from
        gnome-app-helper.h.
parent e7bd038e
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the standard GNOMEUIINFO macros from
gnome-app-helper.h.
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>
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the standard GNOMEUIINFO macros from
gnome-app-helper.h.
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>
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the standard GNOMEUIINFO macros from
gnome-app-helper.h.
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>
......
1999-01-06 Nat Friedman <nat@nat.org>
* src/workbook.c: Use the standard GNOMEUIINFO macros from
gnome-app-helper.h.
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>
......
......@@ -658,18 +658,13 @@ filenames_dropped (GtkWidget * widget,
/* File menu */
static GnomeUIInfo workbook_menu_file [] = {
{ GNOME_APP_UI_ITEM, N_("_New"), NULL, new_cmd, NULL, NULL,
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,
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,
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_KEY_NAME_SAVE_AS, GNOME_KEY_MOD_SAVE_AS },
GNOMEUIINFO_MENU_NEW_ITEM(N_("_New"), new_cmd, NULL),
GNOMEUIINFO_MENU_OPEN_ITEM(open_cmd, NULL),
GNOMEUIINFO_MENU_SAVE_ITEM(save_cmd, NULL),
GNOMEUIINFO_MENU_SAVE_AS_ITEM(save_as_cmd, NULL),
GNOMEUIINFO_SEPARATOR,
......@@ -677,12 +672,9 @@ 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,
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,
GNOME_KEY_NAME_EXIT, GNOME_KEY_MOD_EXIT },
GNOMEUIINFO_MENU_CLOSE_ITEM(close_cmd, NULL),
GNOMEUIINFO_MENU_EXIT_ITEM(quit_cmd, NULL),
GNOMEUIINFO_END
};
......@@ -697,15 +689,9 @@ 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,
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,
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,
GNOME_KEY_NAME_PASTE, GNOME_KEY_MOD_PASTE },
GNOMEUIINFO_MENU_CUT_ITEM(cut_cmd, NULL),
GNOMEUIINFO_MENU_COPY_ITEM(copy_cmd, NULL),
GNOMEUIINFO_MENU_PASTE_ITEM(paste_cmd, NULL),
{ 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