aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
authorNat Friedman <nat@nat.org>1999-01-09 05:29:04 +0800
committerNat Friedman <nat@src.gnome.org>1999-01-09 05:29:04 +0800
commite8bd10f695a8ce83c21efaafd4ec0ee3c84e5761 (patch)
tree1c8187132089d93bd67e90aa0a7d936c68e93b82 /calendar/gui/main.c
parent14b38a892adaa40745ee4b3d42923a386abedffd (diff)
downloadgsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar.gz
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar.bz2
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar.lz
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar.xz
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.tar.zst
gsoc2013-evolution-e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761.zip
Converted some more stuff to use the standards.
1999-01-08 Nat Friedman <nat@nat.org> * main.c: Converted some more stuff to use the standards. svn path=/trunk/; revision=590
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c25
1 files changed, 6 insertions, 19 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index db92a49d40..c21aafef18 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -402,28 +402,15 @@ static GnomeUIInfo gnome_cal_file_menu [] = {
N_("Create a new calendar"),
new_calendar_cmd, NULL),
- { GNOME_APP_UI_ITEM, N_("_Open calendar..."),
- N_("Open a saved calendar"), open_calendar_cmd, NULL, NULL,
- GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_OPEN,
- GNOME_KEY_NAME_OPEN, GNOME_KEY_MOD_OPEN, NULL },
-
- { GNOME_APP_UI_ITEM, N_("_Save calendar"),
- N_("Save the current calendar"), save_calendar_cmd, NULL, NULL,
- GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE,
- GNOME_KEY_NAME_SAVE, GNOME_KEY_MOD_SAVE, NULL },
-
- { GNOME_APP_UI_ITEM, N_("Save calendar _as..."),
- N_("Save the current calendar with a different name"),
- save_as_calendar_cmd, NULL, NULL,
- GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_SAVE_AS,
- GNOME_KEY_NAME_SAVE_AS, GNOME_KEY_MOD_SAVE_AS, NULL },
+ GNOMEUIINFO_MENU_OPEN_ITEM(open_calendar_cmd, NULL),
+
+ GNOMEUIINFO_MENU_SAVE_ITEM(save_calendar_cmd, NULL),
+
+ GNOMEUIINFO_MENU_SAVE_AS_ITEM(save_as_calendar_cmd, NULL),
GNOMEUIINFO_SEPARATOR,
- { GNOME_APP_UI_ITEM, N_("_Close calendar..."),
- N_("Close the current calendar"), close_cmd, NULL, NULL,
- GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_CLOSE,
- GNOME_KEY_NAME_CLOSE, GNOME_KEY_MOD_CLOSE, NULL },
+ GNOMEUIINFO_MENU_CLOSE_ITEM(close_cmd, NULL),
GNOMEUIINFO_MENU_EXIT_ITEM(quit_cmd, NULL),