aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-04-18 06:29:56 +0800
committerChris Lahey <clahey@src.gnome.org>2002-04-18 06:29:56 +0800
commitc2ee47d180f472cdcc2c9c35e6e7d9400ab2d6c1 (patch)
treefa30eef3dba8dfc871dad0aecf14df1156ed6572 /calendar/gui/e-week-view.c
parenta35bc80a53e50752c52f20e21765b95a55f27331 (diff)
downloadgsoc2013-evolution-c2ee47d180f472cdcc2c9c35e6e7d9400ab2d6c1.tar.gz
gsoc2013-evolution-c2ee47d180f472cdcc2c9c35e6e7d9400ab2d6c1.tar.zst
gsoc2013-evolution-c2ee47d180f472cdcc2c9c35e6e7d9400ab2d6c1.zip
Bumped required gal version number to 0.19.99.11.
2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c68
1 files changed, 23 insertions, 45 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index ce8bba0635..f7eb62d56b 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3428,80 +3428,58 @@ enum {
};
static EPopupMenu main_items [] = {
- { N_("New _Appointment..."), NULL,
- e_week_view_on_new_appointment, NULL, NULL, 0 },
- { N_("New All Day _Event"), NULL,
- e_week_view_on_new_event, NULL, NULL, 0 },
- { N_("New Meeting"), NULL,
- e_week_view_on_new_meeting, NULL, NULL, 0 },
- { N_("New Task"), NULL,
- e_week_view_on_new_task, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("New _Appointment..."), e_week_view_on_new_appointment, 0),
+ E_POPUP_ITEM (N_("New All Day _Event"), e_week_view_on_new_event, 0),
+ E_POPUP_ITEM (N_("New Meeting"), e_week_view_on_new_meeting, 0),
+ E_POPUP_ITEM (N_("New Task"), e_week_view_on_new_task, 0),
E_POPUP_SEPARATOR,
- { N_("_Print..."), NULL,
- e_week_view_on_print, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("_Print..."), e_week_view_on_print, 0),
E_POPUP_SEPARATOR,
- { N_("_Paste"), NULL,
- e_week_view_on_paste, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("_Paste"), e_week_view_on_paste, 0),
E_POPUP_SEPARATOR,
- { N_("Go to _Today"), NULL,
- e_week_view_on_goto_today, NULL, NULL, 0 },
- { N_("_Go to Date..."), NULL,
- e_week_view_on_goto_date, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("Go to _Today"), e_week_view_on_goto_today, 0),
+ E_POPUP_ITEM (N_("_Go to Date..."), e_week_view_on_goto_date, 0),
E_POPUP_SEPARATOR,
- { N_("_Publish Free/Busy Information"), NULL,
- e_week_view_on_publish, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("_Publish Free/Busy Information"), e_week_view_on_publish, 0),
E_POPUP_SEPARATOR,
- { N_("_Configure..."), NULL,
- e_week_view_on_paste, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("_Configure..."), e_week_view_on_paste, 0),
E_POPUP_TERMINATOR
};
static EPopupMenu child_items [] = {
- { N_("_Open"), NULL,
- e_week_view_on_edit_appointment, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
- { N_("_Save As..."), NULL,
- e_week_view_on_save_as, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
- { N_("_Print..."), NULL,
- e_week_view_on_print_event, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
+ E_POPUP_ITEM (N_("_Open"), e_week_view_on_edit_appointment, MASK_EDITABLE | MASK_EDITING),
+ E_POPUP_ITEM (N_("_Save As..."), e_week_view_on_save_as, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING),
+ E_POPUP_ITEM (N_("_Print..."), e_week_view_on_print_event, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING),
/* Only show this separator if one of the above is shown. */
- { "", NULL, NULL, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
+ E_POPUP_SEPARATOR,
- { N_("C_ut"), NULL,
- e_week_view_on_cut, NULL, NULL, MASK_EDITING | MASK_EDITABLE },
- { N_("_Copy"), NULL,
- e_week_view_on_copy, NULL, NULL, MASK_EDITING | MASK_EDITABLE },
- { N_("_Paste"), NULL,
- e_week_view_on_paste, NULL, NULL, 0 },
+ E_POPUP_ITEM (N_("C_ut"), e_week_view_on_cut, MASK_EDITING | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Copy"), e_week_view_on_copy, MASK_EDITING | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Paste"), e_week_view_on_paste, 0),
E_POPUP_SEPARATOR,
- { N_("_Schedule Meeting..."), NULL,
- e_week_view_on_meeting, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
- { N_("_Forward as iCalendar..."), NULL,
- e_week_view_on_forward, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
+ E_POPUP_ITEM (N_("_Schedule Meeting..."), e_week_view_on_meeting, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING),
+ E_POPUP_ITEM (N_("_Forward as iCalendar..."), e_week_view_on_forward, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING),
E_POPUP_SEPARATOR,
- { N_("_Delete this Appointment"), NULL,
- e_week_view_on_delete_appointment, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
- { N_("Make this Occurrence _Movable"), NULL,
- e_week_view_on_unrecur_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
- { N_("Delete this _Occurrence"), NULL,
- e_week_view_on_delete_occurrence, NULL, NULL, MASK_RECURRING | MASK_EDITING },
- { N_("Delete _All Occurrences"), NULL,
- e_week_view_on_delete_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
+ E_POPUP_ITEM (N_("_Delete this Appointment"), e_week_view_on_delete_appointment, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING),
+ E_POPUP_ITEM (N_("Make this Occurrence _Movable"), e_week_view_on_unrecur_appointment, MASK_RECURRING | MASK_EDITING),
+ E_POPUP_ITEM (N_("Delete this _Occurrence"), e_week_view_on_delete_occurrence, MASK_RECURRING | MASK_EDITING),
+ E_POPUP_ITEM (N_("Delete _All Occurrences"), e_week_view_on_delete_appointment, MASK_RECURRING | MASK_EDITING),
E_POPUP_TERMINATOR
};