diff options
author | Nat Friedman <nat@nat.org> | 1999-01-09 05:29:04 +0800 |
---|---|---|
committer | Nat Friedman <nat@src.gnome.org> | 1999-01-09 05:29:04 +0800 |
commit | e8bd10f695a8ce83c21efaafd4ec0ee3c84e5761 (patch) | |
tree | 1c8187132089d93bd67e90aa0a7d936c68e93b82 /calendar/main.c | |
parent | 14b38a892adaa40745ee4b3d42923a386abedffd (diff) | |
download | gsoc2013-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/main.c')
-rw-r--r-- | calendar/main.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/calendar/main.c b/calendar/main.c index db92a49d40..c21aafef18 100644 --- a/calendar/main.c +++ b/calendar/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), |