From b29fc16e4b9130c44ec5702851166466164fbbf8 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 23 Aug 2000 22:03:46 +0000 Subject: Set vtype of new CalComponent (e_week_view_on_new_appointment): ditto 2000-08-23 JP Rosevear * gui/e-week-view.c (e_week_view_key_press): Set vtype of new CalComponent (e_week_view_on_new_appointment): ditto * gui/e-day-view.c (e_day_view_on_new_appointment): ditto svn path=/trunk/; revision=4990 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/e-day-view.c | 1 + calendar/gui/e-week-view.c | 4 +++- 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index b41a4471f2..07a1f54aa6 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2000-08-23 JP Rosevear + + * gui/e-week-view.c (e_week_view_key_press): Set vtype of new + CalComponent + (e_week_view_on_new_appointment): ditto + + * gui/e-day-view.c (e_day_view_on_new_appointment): ditto + 2000-08-23 JP Rosevear * gui/e-day-view-time-item.c: Include gnome.h for gettext purposes diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index c14da5f58f..d8e52e683b 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2407,6 +2407,7 @@ e_day_view_on_new_appointment (GtkWidget *widget, gpointer data) day_view = E_DAY_VIEW (data); comp = cal_component_new (); + cal_component_set_new_vtype (comp, CAL_COMPONENT_EVENT); e_day_view_get_selected_time_range (day_view, &dtstart, &dtend); date.value = g_new (struct icaltimetype, 1); diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index faf78db567..4a84aed29e 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2626,6 +2626,7 @@ e_week_view_key_press (GtkWidget *widget, GdkEventKey *event) /* Add a new event covering the selected range. */ comp = cal_component_new (); + cal_component_set_new_vtype (comp, CAL_COMPONENT_EVENT); dtstart = week_view->day_starts[week_view->selection_start_day]; dtend = week_view->day_starts[week_view->selection_end_day + 1]; @@ -2742,7 +2743,8 @@ e_week_view_on_new_appointment (GtkWidget *widget, gpointer data) week_view = E_WEEK_VIEW (data); comp = cal_component_new (); - + cal_component_set_new_vtype (comp, CAL_COMPONENT_EVENT); + date.value = g_new0 (struct icaltimetype, 1); *date.value = -- cgit n/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to 1.5.6swills2011-11-232-3/+3
* - Cannoicalize the WWW: [again],pgollucci2011-06-241-1/+1
* - Update to 1.5.4pgollucci2010-12-163-5/+4
* - Mass fixup of WWW: lines pkg-descr based on rubygems.org Homepage meta infopgollucci2010-10-201-1/+1
* - Unbreak the port, USE_RUBY* needs to be above bsd.pre.mkpav2010-08-251-4/+4
* - Mark broken on 9-CURRENT after 900007pgollucci2010-08-241-1/+7