diff options
author | JP Rosevear <jpr@ximian.com> | 2002-04-19 03:00:25 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-04-19 03:00:25 +0800 |
commit | 90710b285fcb24c3a6b7a6d78fd1746bcaff2256 (patch) | |
tree | 84bb16e4c51763463d6640d6a1bd7a94f0a88c99 /calendar/gui/e-week-view.c | |
parent | bd6359c660895ea0765c216563957c3a2f44e112 (diff) | |
download | gsoc2013-evolution-90710b285fcb24c3a6b7a6d78fd1746bcaff2256.tar.gz gsoc2013-evolution-90710b285fcb24c3a6b7a6d78fd1746bcaff2256.tar.zst gsoc2013-evolution-90710b285fcb24c3a6b7a6d78fd1746bcaff2256.zip |
show the settings
2002-04-18 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c (e_day_view_on_settings): show the settings
* gui/e-week-view.c (e_week_view_on_settings): ditto
* gui/calendar-commands.c (control_util_show_settings): show the
settings dialog
* gui/calendar-commands.h: new proto
* gui/control-factory.c (control_factory_new_control): set the
control as object data on the calendar
svn path=/trunk/; revision=16511
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index f7eb62d56b..3ebc5f9ac0 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -198,6 +198,8 @@ static void e_week_view_on_forward (GtkWidget *widget, gpointer data); static void e_week_view_on_publish (GtkWidget *widget, gpointer data); +static void e_week_view_on_settings (GtkWidget *widget, + gpointer data); static void e_week_view_on_delete_occurrence (GtkWidget *widget, gpointer data); static void e_week_view_on_delete_appointment (GtkWidget *widget, @@ -3452,15 +3454,15 @@ static EPopupMenu main_items [] = { E_POPUP_SEPARATOR, - E_POPUP_ITEM (N_("_Configure..."), e_week_view_on_paste, 0), + E_POPUP_ITEM (N_("_Configure..."), e_week_view_on_settings, 0), E_POPUP_TERMINATOR }; static EPopupMenu child_items [] = { 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), + E_POPUP_ITEM (N_("_Save As..."), e_week_view_on_save_as, MASK_EDITABLE | MASK_EDITING), + E_POPUP_ITEM (N_("_Print..."), e_week_view_on_print_event, MASK_EDITABLE | MASK_EDITING), /* Only show this separator if one of the above is shown. */ E_POPUP_SEPARATOR, @@ -3789,6 +3791,16 @@ e_week_view_on_publish (GtkWidget *widget, gpointer data) } static void +e_week_view_on_settings (GtkWidget *widget, gpointer data) +{ + EWeekView *week_view; + + week_view = E_WEEK_VIEW (data); + + control_util_show_settings (week_view->calendar); +} + +static void e_week_view_on_delete_occurrence (GtkWidget *widget, gpointer data) { EWeekView *week_view; |