diff options
author | Milan Crha <mcrha@redhat.com> | 2007-11-16 22:52:25 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-11-16 22:52:25 +0800 |
commit | 26c24247784c58a90f257f8668d3945d92e283ec (patch) | |
tree | f3a470e442893ea8066d3d28e56dcbdb42832c0c /calendar/gui/dialogs/event-page.c | |
parent | 22b05338cfbd24ea8cc38990b58fdc0cf4346358 (diff) | |
download | gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar.gz gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar.bz2 gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar.lz gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar.xz gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.tar.zst gsoc2013-evolution-26c24247784c58a90f257f8668d3945d92e283ec.zip |
** Fix for bug #492793
2007-11-16 Milan Crha <mcrha@redhat.com>
** Fix for bug #492793
* gui/dialogs/task-page.c: (task_page_fill_component):
* gui/dialogs/comp-editor.c: (page_changed_cb),
(page_summary_changed_cb), (page_dates_changed_cb):
* gui/dialogs/event-page.c: (event_page_fill_component):
* gui/dialogs/memo-page.c: (memo_page_fill_component):
Pass real widget as parent to e_notice, not a GObject.
svn path=/trunk/; revision=34543
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index a60b87c4c9..7e5e2b8dda 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -1503,13 +1503,13 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) /* Sanity Check */ if (a == NULL) { - e_notice (page, GTK_MESSAGE_ERROR, + e_notice (priv->main, GTK_MESSAGE_ERROR, _("The organizer selected no longer has an account.")); return FALSE; } if (a->id->address == NULL || strlen (a->id->address) == 0) { - e_notice (page, GTK_MESSAGE_ERROR, + e_notice (priv->main, GTK_MESSAGE_ERROR, _("An organizer is required.")); return FALSE; } @@ -1534,7 +1534,7 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) } if (e_meeting_store_count_actual_attendees (priv->model) < 1) { - e_notice (page, GTK_MESSAGE_ERROR, + e_notice (priv->main, GTK_MESSAGE_ERROR, _("At least one attendee is required.")); return FALSE; } |