diff options
Diffstat (limited to 'plugins/groupwise-features/camel-gw-listener.c')
-rw-r--r-- | plugins/groupwise-features/camel-gw-listener.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/groupwise-features/camel-gw-listener.c b/plugins/groupwise-features/camel-gw-listener.c index 72b810feea..52b37fc92a 100644 --- a/plugins/groupwise-features/camel-gw-listener.c +++ b/plugins/groupwise-features/camel-gw-listener.c @@ -32,6 +32,7 @@ #include "e-util/e-error.h" #include <libedataserver/e-account.h> #include <libecal/e-cal.h> +#include <shell/e-shell.h> /*stores some info about all currently existing groupwise accounts list of GwAccountInfo structures */ @@ -541,7 +542,7 @@ get_addressbook_names_from_server (gchar *source_url) /*FIXME: This error message should be relocated to addressbook and should reflect * that it actually failed to get the addressbooks*/ - e_error_run (NULL, "mail:gw-accountsetup-error", poa_address, NULL); + e_error_run (e_shell_get_active_window (NULL), "mail:gw-accountsetup-error", poa_address, NULL); return NULL; } @@ -653,7 +654,7 @@ add_addressbook_sources (EAccount *account) if (!is_frequent_contacts) { /* display warning message */ - e_error_run (NULL, "addressbook:gw-book-list-init", NULL); + e_error_run (e_shell_get_active_window (NULL), "addressbook:gw-book-list-init", NULL); } return TRUE; } |