aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-11-16 22:52:25 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-16 22:52:25 +0800
commit26c24247784c58a90f257f8668d3945d92e283ec (patch)
treef3a470e442893ea8066d3d28e56dcbdb42832c0c /calendar/gui/dialogs/comp-editor.c
parent22b05338cfbd24ea8cc38990b58fdc0cf4346358 (diff)
downloadgsoc2013-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/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 2b2b797775..ce2ae3b69a 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2905,7 +2905,7 @@ page_changed_cb (GtkObject *obj, gpointer data)
comp_editor_set_changed (editor, TRUE);
if (!priv->warned && priv->existing_org && !priv->user_org) {
- e_notice (editor, GTK_MESSAGE_INFO,
+ e_notice (priv->notebook, GTK_MESSAGE_INFO,
_("Changes made to this item may be discarded if an update arrives"));
priv->warned = TRUE;
}
@@ -2959,7 +2959,7 @@ page_summary_changed_cb (GtkObject *obj, const char *summary, gpointer data)
comp_editor_page_set_summary (l->data, summary);
if (!priv->warned && priv->existing_org && !priv->user_org) {
- e_notice (editor, GTK_MESSAGE_INFO,
+ e_notice (priv->notebook, GTK_MESSAGE_INFO,
_("Changes made to this item may be discarded if an update arrives"));
priv->warned = TRUE;
}
@@ -2983,7 +2983,7 @@ page_dates_changed_cb (GtkObject *obj,
comp_editor_page_set_dates (l->data, dates);
if (!priv->warned && priv->existing_org && !priv->user_org) {
- e_notice (editor, GTK_MESSAGE_INFO,
+ e_notice (priv->notebook, GTK_MESSAGE_INFO,
_("Changes made to this item may be discarded if an update arrives"));
priv->warned = TRUE;
}