aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-08-07 15:38:51 +0800
committerMilan Crha <mcrha@redhat.com>2013-08-07 15:38:51 +0800
commitc40b539296a04f877861de4610f5c09a7262a31a (patch)
tree7fb119a873db0c6c5049bb5b842df047d7d069dc /addressbook/gui/contact-list-editor/e-contact-list-editor.c
parent9499cbd238a69a0800ecbee7bf3229d330c1ac9c (diff)
downloadgsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar.gz
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar.bz2
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar.lz
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar.xz
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.tar.zst
gsoc2013-evolution-c40b539296a04f877861de4610f5c09a7262a31a.zip
[Addressbook] Show editor errors above editor window
An address book editor error was shown about active EShell's window, which means switching to other application and back made the editor in the background, but, more importantly, the editor could be selected and the error was in the background, thus it seemed like being stuck, it didn't respond to any button click, until the error was dismissed.
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index f58f433a38..2eac787950 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -1591,7 +1591,7 @@ contact_list_editor_contact_added (EABEditor *editor,
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
return;
- eab_error_dialog (NULL, _("Error adding list"), error);
+ eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error adding list"), error);
}
static void
@@ -1606,7 +1606,7 @@ contact_list_editor_contact_modified (EABEditor *editor,
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
return;
- eab_error_dialog (NULL, _("Error modifying list"), error);
+ eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error modifying list"), error);
}
static void
@@ -1621,7 +1621,7 @@ contact_list_editor_contact_deleted (EABEditor *editor,
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
return;
- eab_error_dialog (NULL, _("Error removing list"), error);
+ eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error removing list"), error);
}
static void