From 85cc391f1a403157837f5d9aa8e681f57a32afc0 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 28 Oct 2000 03:57:24 +0000 Subject: New function. (general_summary_changed_cb): Sync the general summary to 2000-10-27 Federico Mena Quintero * gui/event-editor.c (sync_entries): New function. (general_summary_changed_cb): Sync the general summary to the recurrence summary widget. (recurrence_summary_changed_cb): Vice-versa. (init_widgets): Hook to the summaries. * event-editor-dialog.glade: Do not expand/fill the start and end date so that the "all day event" button is not pushed all the way to the right. Decrease the spacing between the recurrence sentence widgets. Remove a spurious empty label that was lurking around the recurrence widgets. Make the alarm widgets expand the right way. Delete old recurrence widgets. svn path=/trunk/; revision=6246 --- calendar/gui/event-editor-dialog.glade | 1784 ++++++++---------------------- calendar/gui/event-editor-dialog.glade.h | 32 +- calendar/gui/event-editor.c | 62 +- 3 files changed, 526 insertions(+), 1352 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/event-editor-dialog.glade b/calendar/gui/event-editor-dialog.glade index 97a40666ee..fb30e23f14 100644 --- a/calendar/gui/event-editor-dialog.glade +++ b/calendar/gui/event-editor-dialog.glade @@ -150,31 +150,6 @@ 4 4 - - Custom - start-time - make_date_edit_with_time - - - 0 - 0 - Tue, 16 May 2000 19:11:05 GMT - - 1 - 2 - 0 - 1 - 0 - 0 - True - False - False - False - True - False - - - GtkLabel label15 @@ -227,48 +202,73 @@ + + GtkCheckButton + all-day-event + True + + False + True + + 2 + 3 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + + Custom - end-time + start-time make_date_edit_with_time + + 0 0 - Tue, 16 May 2000 19:11:10 GMT + Tue, 16 May 2000 19:11:05 GMT 1 2 - 1 - 2 + 0 + 1 0 0 - True + False False False False - True + False False - GtkCheckButton - all-day-event - True - - False - True + Custom + end-time + make_date_edit_with_time + 0 + 0 + Tue, 16 May 2000 19:11:10 GMT - 2 - 3 - 0 - 1 + 1 + 2 + 1 + 2 0 0 False False False False - True + False False @@ -387,134 +387,6 @@ 4 4 - - GtkSpinButton - alarm-display-amount - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 0 - 0 - 100 - 1 - 10 - 10 - - 1 - 2 - 0 - 1 - 0 - 0 - True - False - False - False - True - False - - - - - GtkSpinButton - alarm-audio-amount - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 - 0 - 100 - 1 - 10 - 10 - - 1 - 2 - 1 - 2 - 0 - 0 - True - False - False - False - True - False - - - - - GtkSpinButton - alarm-program-amount - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 - 0 - 100 - 1 - 10 - 10 - - 1 - 2 - 2 - 3 - 0 - 0 - True - False - False - False - True - False - - - - - GtkSpinButton - alarm-mail-amount - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 - 0 - 100 - 1 - 10 - 10 - - 1 - 2 - 3 - 4 - 0 - 0 - True - False - False - False - True - False - - - GtkOptionMenu alarm-display-unit @@ -616,21 +488,20 @@ Days - GtkEntry - alarm-mail-mail-to + GtkCheckButton + alarm-display True - True - True - 0 - + + False + True - 4 - 5 - 3 - 4 + 0 + 1 + 0 + 1 0 0 - True + False False False False @@ -640,50 +511,40 @@ Days - GnomeFileEntry - alarm-program-run-program - 10 - False - False + GtkCheckButton + alarm-program + True + + False + True - 4 - 5 + 0 + 1 2 3 0 0 - True + False False False False True False - - - GtkEntry - GnomeEntry:entry - alarm-program-run-program-entry - True - True - True - 0 - - - + GtkCheckButton - alarm-display + alarm-mail True - + False True 0 1 - 0 - 1 + 3 + 4 0 0 False @@ -696,17 +557,21 @@ Days - GtkCheckButton - alarm-audio - True - - False - True + GtkLabel + label18 + + GTK_JUSTIFY_CENTER + False + 7.45058e-09 + 0.5 + 0 + 0 + alarm-mail-mail-to - 0 - 1 - 1 - 2 + 3 + 4 + 3 + 4 0 0 False @@ -719,15 +584,19 @@ Days - GtkCheckButton - alarm-program - True - - False - True + GtkLabel + label17 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + alarm-program-run-program-entry - 0 - 1 + 3 + 4 2 3 0 @@ -741,18 +610,75 @@ Days + + GtkEntry + alarm-mail-mail-to + True + True + True + 0 + + + 4 + 5 + 3 + 4 + 0 + 0 + True + False + True + False + True + False + + + + + GnomeFileEntry + alarm-program-run-program + 10 + False + False + + 4 + 5 + 2 + 3 + 0 + 0 + True + False + True + False + True + False + + + + GtkEntry + GnomeEntry:entry + alarm-program-run-program-entry + True + True + True + 0 + + + + GtkCheckButton - alarm-mail + alarm-audio True - + False True 0 1 - 3 - 4 + 1 + 2 0 0 False @@ -765,46 +691,88 @@ Days - GtkLabel - label18 - - GTK_JUSTIFY_CENTER + GtkSpinButton + alarm-display-amount + True + 1 + 0 + True + GTK_UPDATE_ALWAYS + False False - 7.45058e-09 - 0.5 - 0 - 0 - alarm-mail-mail-to + 0 + 0 + 100 + 1 + 10 + 10 - 3 - 4 - 3 - 4 + 1 + 2 + 0 + 1 0 0 False False False False - True + False False - GtkLabel - label17 - - GTK_JUSTIFY_CENTER + GtkSpinButton + alarm-audio-amount + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False False - 0 - 0.5 - 0 - 0 - alarm-program-run-program-entry + 0 + 0 + 100 + 1 + 10 + 10 - 3 - 4 + 1 + 2 + 1 + 2 + 0 + 0 + False + False + False + False + False + False + + + + + GtkSpinButton + alarm-program-amount + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 0 + 0 + 100 + 1 + 10 + 10 + + 1 + 2 2 3 0 @@ -813,7 +781,39 @@ Days False False False - True + False + False + + + + + GtkSpinButton + alarm-mail-amount + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 0 + 0 + 100 + 1 + 10 + 10 + + 1 + 2 + 3 + 4 + 0 + 0 + False + False + False + False + False False @@ -833,581 +833,120 @@ Days - GtkVBox - vbox3 - 6 + GtkTable + table8 + 2 + 4 False - 6 + 2 + 2 - GtkFrame - frame8 - - 0 - GTK_SHADOW_ETCHED_IN + GtkRadioButton + recurrence-rule-monthly-on-day + True + + True + True + recurrence_rule_monthly_group - 0 - False - True + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + False + False + - - GtkHBox - hbox7 - False - 0 - - - GtkVBox - vbox4 - 4 - False - 0 - - 0 - False - False - - - - GtkRadioButton - recurrence-rule-none - True - - True - True - recurrence_rule_group - - 0 - False - False - - - - - GtkRadioButton - recurrence-rule-daily - True - - False - True - recurrence_rule_group - - 0 - False - False - - - - - GtkRadioButton - recurrence-rule-weekly - True - - False - True - recurrence_rule_group - - 0 - False - False - - - - - GtkRadioButton - recurrence-rule-monthly - True - - False - True - recurrence_rule_group - - 0 - False - False - - - - - GtkRadioButton - recurrence-rule-yearly - True - - False - True - recurrence_rule_group - - 0 - False - False - - - - - - GtkVSeparator - vseparator1 - - 0 - False - True - - - - - GtkNotebook - recurrence-rule-notebook - False - False - GTK_POS_TOP - False - 2 - 2 - False - - 0 - True - True - - - - GtkTable - table6 - 3 - 3 - False - 0 - 0 - - - - GtkLabel - Notebook:tab - label23 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkAlignment - alignment1 - 0.5 - 0.5 - 1 - 1 - - - GtkVBox - vbox7 - 4 - False - 0 - - - GtkHBox - hbox13 - False - 0 - - 0 - False - True - - - - GtkLabel - label31 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkSpinButton - recurrence-rule-daily-days - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkLabel - label32 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - - - - GtkLabel - Notebook:tab - label24 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkVBox - vbox8 - 4 - False - 2 - - - GtkHBox - hbox14 - False - 0 - - 0 - False - True - - - - GtkLabel - label33 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkSpinButton - recurrence-rule-weekly-weeks - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkLabel - label34 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - - GtkHBox - hbox15 - False - 0 - - 0 - False - True - - - - GtkCheckButton - recurrence-rule-weekly-mon - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-tue - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-wed - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-thu - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-fri - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-sat - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - recurrence-rule-weekly-sun - True - - False - True - - 0 - False - False - - - - - - - GtkLabel - Notebook:tab - label25 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkTable - table8 - 2 - 4 - False - 2 - 2 - - - GtkRadioButton - recurrence-rule-monthly-on-day - True - - True - True - recurrence_rule_monthly_group - - 0 - 1 - 0 - 1 - 0 - 0 - False - False - False - False - False - False - - - - - GtkRadioButton - recurrence-rule-monthly-weekday - True - - False - True - recurrence_rule_monthly_group - - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - + + GtkRadioButton + recurrence-rule-monthly-weekday + True + + False + True + recurrence_rule_monthly_group + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + False + False + + - - GtkLabel - label35 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 2 - 3 - 0 - 1 - 0 - 0 - False - False - False - False - False - False - - + + GtkLabel + label35 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 2 + 3 + 0 + 1 + 0 + 0 + False + False + False + False + False + False + + - - GtkOptionMenu - recurrence-rule-monthly-week - True - 1st + + GtkOptionMenu + recurrence-rule-monthly-week + True + 1st 2nd 3rd 4th 5th - 0 - - 1 - 2 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - + 0 + + 1 + 2 + 1 + 2 + 0 + 0 + False + False + False + False + False + False + + - - GtkOptionMenu - recurrence-rule-monthly-weekpos - True - Monday + + GtkOptionMenu + recurrence-rule-monthly-weekpos + True + Monday Tuesday Wednesday Thursday @@ -1415,505 +954,133 @@ Friday Saturday Sunday - 0 - - 2 - 3 - 1 - 2 - 0 - 0 - False - False - False - False - False - False - - - - - GtkHBox - hbox19 - 3 - False - 3 - - 3 - 4 - 0 - 2 - 0 - 0 - True - False - False - False - True - True - - - - GtkLabel - label36 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkSpinButton - recurrence-rule-monthly-every-n-months - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 - 1 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkLabel - label37 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - - GtkSpinButton - recurrence-rule-monthly-day-nth - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 - 0 - 100 - 1 - 10 - 10 - - 1 - 2 - 0 - 1 - 0 - 0 - False - False - False - False - True - False - - - - - - GtkLabel - Notebook:tab - label26 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkVBox - vbox11 - 4 - False - 0 - - - GtkHBox - hbox20 - False - 0 - - 0 - False - True - - - - GtkLabel - label38 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkSpinButton - recurrence-rule-yearly-every-n-years - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 1 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkLabel - label39 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - - - GtkLabel - Notebook:tab - label27 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - + 0 + + 2 + 3 + 1 + 2 + 0 + 0 + False + False + False + False + False + False + GtkHBox - hbox8 + hbox19 + 3 False - 4 + 3 - 0 - False - True + 3 + 4 + 0 + 2 + 0 + 0 + True + False + False + False + True + True - GtkFrame - frame9 - - 0 - GTK_SHADOW_ETCHED_IN + GtkLabel + label36 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 0 False - True + False - - - GtkVBox - vbox5 - 4 - True - 2 - - - GtkRadioButton - recurrence-ending-date-repeat-forever - True - - False - True - recurrence_ending_date - - 0 - False - False - - - - - GtkHBox - hbox12 - False - 0 - - 0 - False - False - - - - GtkRadioButton - recurrence-ending-date-end-on - True - - False - True - recurrence_ending_date - - 0 - False - False - - - - - Custom - recurrence-ending-date-end-on-date - 100 - make_date_edit - 0 - 0 - Sat, 13 May 2000 18:02:55 GMT - - 0 - False - True - - - - - - GtkHBox - hbox10 - False - 0 - - 0 - False - False - - - - GtkRadioButton - recurrence-ending-date-end-after - True - - False - True - recurrence_ending_date - - 0 - False - False - - - - - GtkSpinButton - recurrence-ending-date-end-after-count - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 2 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkLabel - label28 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkFrame - frame10 - - 0 - GTK_SHADOW_ETCHED_IN + GtkSpinButton + recurrence-rule-monthly-every-n-months + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 1 + 1 + 100 + 1 + 10 + 10 0 - True + False True + - - GtkVBox - vbox12 - 4 - False - 4 - - - Placeholder - - - - GtkHBox - hbox21 - False - 4 - - 0 - True - True - - - - GtkVBox - vbox13 - False - 2 - - 0 - False - True - - - - Placeholder - - - - GtkButton - recurrence-exceptions-change - True - - GTK_RELIEF_NORMAL - - 0 - False - False - - - - - Placeholder - - - - - GtkScrolledWindow - scrolledwindow2 - GTK_POLICY_ALWAYS - GTK_POLICY_ALWAYS - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS - - 0 - True - True - - - - GtkCList - recurrence-exceptions-list - True - 1 - 80 - GTK_SELECTION_SINGLE - False - GTK_SHADOW_IN - - - GtkLabel - CList:title - label40 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - - + + GtkLabel + label37 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + GtkSpinButton + recurrence-rule-monthly-day-nth + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 1 + 0 + 100 + 1 + 10 + 10 + + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + @@ -2038,10 +1205,10 @@ Sunday GtkAlignment alignment37 - 7.45058e-09 + 0 0.5 0 - 1 + 0 1 2 @@ -2049,12 +1216,12 @@ Sunday 2 0 0 - True + False False - True + False False True - False + True @@ -2160,7 +1327,7 @@ Sunday GtkHBox recurrence-params False - 4 + 2 0 False @@ -2242,23 +1409,6 @@ year(s) - - GtkLabel - label47 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 2 - 0 - - 0 - False - False - - - GtkOptionMenu recurrence-ending-menu @@ -2315,8 +1465,8 @@ forever GTK_SHADOW_ETCHED_IN 0 - True - True + False + False @@ -2457,8 +1607,8 @@ However, the appointment will recur at the appropriate time and will be displaye 0 0 - False - False + True + True diff --git a/calendar/gui/event-editor-dialog.glade.h b/calendar/gui/event-editor-dialog.glade.h index 8266d8dcdd..19a5d88931 100644 --- a/calendar/gui/event-editor-dialog.glade.h +++ b/calendar/gui/event-editor-dialog.glade.h @@ -28,32 +28,12 @@ gchar *s = N_("Minutes"); gchar *s = N_("Hours"); gchar *s = N_("Days"); gchar *s = N_("_Display"); -gchar *s = N_("_Audio"); gchar *s = N_("_Program"); gchar *s = N_("_Mail"); gchar *s = N_("Mail _to:"); gchar *s = N_("_Run program:"); +gchar *s = N_("_Audio"); gchar *s = N_("Reminder"); -gchar *s = N_("Recurrence rule"); -gchar *s = N_("None"); -gchar *s = N_("Daily"); -gchar *s = N_("Weekly"); -gchar *s = N_("Monthly"); -gchar *s = N_("Yearly"); -gchar *s = N_("label23"); -gchar *s = N_("Every "); -gchar *s = N_("day(s)"); -gchar *s = N_("label24"); -gchar *s = N_("Every "); -gchar *s = N_("week(s)"); -gchar *s = N_("Mon"); -gchar *s = N_("Tue"); -gchar *s = N_("Wed"); -gchar *s = N_("Thu"); -gchar *s = N_("Fri"); -gchar *s = N_("Sat"); -gchar *s = N_("Sun"); -gchar *s = N_("label25"); gchar *s = N_("Recur on the"); gchar *s = N_("Recur on the"); gchar *s = N_("th day of the month"); @@ -71,16 +51,6 @@ gchar *s = N_("Saturday"); gchar *s = N_("Sunday"); gchar *s = N_("Every"); gchar *s = N_("month(s)"); -gchar *s = N_("label26"); -gchar *s = N_("Every "); -gchar *s = N_("year(s)"); -gchar *s = N_("label27"); -gchar *s = N_("Ending date"); -gchar *s = N_("Repeat forever"); -gchar *s = N_("End on "); -gchar *s = N_("End after"); -gchar *s = N_("occurrence(s)"); -gchar *s = N_("Exceptions"); gchar *s = N_("Recurrence"); gchar *s = N_("Appointment Basics"); gchar *s = N_("Su_mmary:"); diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 92eb6816e1..df6e978c08 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -336,7 +336,7 @@ make_recur_weekly_special (EventEditor *ee) /* Create the widgets */ - hbox = gtk_hbox_new (FALSE, 4); + hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (priv->recurrence_special), hbox); label = gtk_label_new (_("on")); @@ -460,7 +460,7 @@ make_recur_ending_count_special (EventEditor *ee) /* Create the widgets */ - hbox = gtk_hbox_new (FALSE, 4); + hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (priv->recurrence_ending_special), hbox); adj = GTK_ADJUSTMENT (gtk_adjustment_new (1, 1, 10000, 1, 10, 10)); @@ -726,6 +726,53 @@ get_widgets (EventEditor *ee) && priv->recurrence_exception_delete); } +/* Syncs the contents of two entry widgets, while blocking signals on the + * specified data. + */ +static void +sync_entries (GtkWidget *source, GtkWidget *dest, gpointer data) +{ + char *str; + + gtk_signal_handler_block_by_data (GTK_OBJECT (dest), data); + + str = gtk_editable_get_chars (GTK_EDITABLE (source), 0, -1); + gtk_entry_set_text (GTK_ENTRY (dest), str); + g_free (str); + + gtk_signal_handler_unblock_by_data (GTK_OBJECT (dest), data); +} + +/* Callback used when the general summary changes; we sync the recurrence + * summary to it. + */ +static void +general_summary_changed_cb (GtkEditable *editable, gpointer data) +{ + EventEditor *ee; + EventEditorPrivate *priv; + + ee = EVENT_EDITOR (data); + priv = ee->priv; + + sync_entries (priv->general_summary, priv->recurrence_summary, ee); +} + +/* Callback used when the recurrence summary changes; we sync the general + * summary to it. + */ +static void +recurrence_summary_changed_cb (GtkEditable *editable, gpointer data) +{ + EventEditor *ee; + EventEditorPrivate *priv; + + ee = EVENT_EDITOR (data); + priv = ee->priv; + + sync_entries (priv->recurrence_summary, priv->general_summary, ee); +} + /* Hooks the widget signals */ static void init_widgets (EventEditor *ee) @@ -735,6 +782,13 @@ init_widgets (EventEditor *ee) priv = ee->priv; + /* Summary in the main and recurrence pages */ + + gtk_signal_connect (GTK_OBJECT (priv->general_summary), "changed", + GTK_SIGNAL_FUNC (general_summary_changed_cb), ee); + gtk_signal_connect (GTK_OBJECT (priv->recurrence_summary), "changed", + GTK_SIGNAL_FUNC (recurrence_summary_changed_cb), ee); + /* Start and end times */ gtk_signal_connect (GTK_OBJECT (priv->start_time), "date_changed", @@ -840,7 +894,7 @@ clear_widgets (EventEditor *ee) /* Summary, description */ - e_dialog_editable_set (priv->general_summary, NULL); + e_dialog_editable_set (priv->general_summary, NULL); /* will also change recur summary */ e_dialog_editable_set (priv->description, NULL); /* Start and end times */ @@ -1161,7 +1215,7 @@ fill_widgets (EventEditor *ee) /* Summary, description(s) */ cal_component_get_summary (priv->comp, &text); - e_dialog_editable_set (priv->general_summary, text.value); + e_dialog_editable_set (priv->general_summary, text.value); /* will also set recur summary */ cal_component_get_description_list (priv->comp, &l); if (l) { -- cgit v1.2.3