diff options
author | JP Rosevear <jpr@novell.com> | 2004-07-16 10:28:21 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-07-16 10:28:21 +0800 |
commit | f47e957ba93d105fb4651657d675282376830914 (patch) | |
tree | 5194a835ad23fc64737ce512103b8ab7aa23c0a3 /calendar/gui/dialogs | |
parent | 5f8818913ba4cca5bf2b035625b1f17acf6679f6 (diff) | |
download | gsoc2013-evolution-f47e957ba93d105fb4651657d675282376830914.tar.gz gsoc2013-evolution-f47e957ba93d105fb4651657d675282376830914.tar.zst gsoc2013-evolution-f47e957ba93d105fb4651657d675282376830914.zip |
Fixes #61572
2004-07-14 JP Rosevear <jpr@novell.com>
Fixes #61572
* gui/dialogs/schedule-page.c (times_changed_cb): call notify
changed
* gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to
mark the editor changed here, it doesn't do the right thing anyhow
(page_dates_changed_cb): ditto
svn path=/trunk/; revision=26659
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/schedule-page.c | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index ae9730caac..2ce4647c19 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -1330,8 +1330,6 @@ page_summary_changed_cb (GtkObject *obj, const char *summary, gpointer data) if (obj != l->data) comp_editor_page_set_summary (l->data, summary); - priv->changed = TRUE; - if (!priv->warned && priv->existing_org && !priv->user_org) { e_notice (editor, GTK_MESSAGE_INFO, _("Changes made to this item may be discarded if an update arrives")); @@ -1356,8 +1354,6 @@ page_dates_changed_cb (GtkObject *obj, if (obj != l->data) comp_editor_page_set_dates (l->data, dates); - priv->changed = TRUE; - if (!priv->warned && priv->existing_org && !priv->user_org) { e_notice (editor, GTK_MESSAGE_INFO, _("Changes made to this item may be discarded if an update arrives")); diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index 0069208a81..11a7e4a1f7 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -406,11 +406,9 @@ init_widgets (SchedulePage *spage) priv = spage->priv; - g_signal_connect((priv->sel), - "changed", G_CALLBACK (times_changed_cb), spage); + g_signal_connect (priv->sel, "changed", G_CALLBACK (times_changed_cb), spage); return TRUE; - } @@ -544,6 +542,6 @@ times_changed_cb (GtkWidget *widget, gpointer data) dates.due = NULL; dates.complete = NULL; - comp_editor_page_notify_dates_changed (COMP_EDITOR_PAGE (spage), - &dates); + comp_editor_page_notify_dates_changed (COMP_EDITOR_PAGE (spage), &dates); + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (spage)); } |