diff options
author | Milan Crha <mcrha@redhat.com> | 2013-08-07 15:33:51 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-08-07 15:38:28 +0800 |
commit | c8f9a064a64090b854792adbbcae816cebdea55e (patch) | |
tree | db1acabed52ede9600e931e06db6a3e408fd857d /addressbook/gui/contact-editor | |
parent | db04888644ec3ace5baeed406fb687f01a29a3b8 (diff) | |
download | gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar.gz gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar.bz2 gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar.lz gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar.xz gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.tar.zst gsoc2013-evolution-c8f9a064a64090b854792adbbcae816cebdea55e.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-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 8f7bc9e929..0d3f41e2d5 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -224,7 +224,7 @@ e_contact_editor_contact_added (EABEditor *editor, g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) return; - eab_error_dialog (NULL, _("Error adding contact"), error); + eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error adding contact"), error); } static void @@ -239,7 +239,7 @@ e_contact_editor_contact_modified (EABEditor *editor, g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) return; - eab_error_dialog (NULL, _("Error modifying contact"), error); + eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error modifying contact"), error); } static void @@ -254,7 +254,7 @@ e_contact_editor_contact_deleted (EABEditor *editor, g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) return; - eab_error_dialog (NULL, _("Error removing contact"), error); + eab_error_dialog (NULL, eab_editor_get_window (editor), _("Error removing contact"), error); } static void |