projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1727efb
)
Code review: check return value of run account setup wizard
author
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 31 Mar 2009 11:57:15 +0000
(11:57 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 31 Mar 2009 11:57:15 +0000
(11:57 +0000)
pmo-trunk-r8490
src/widgets/modest-window-mgr.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-window-mgr.c
b/src/widgets/modest-window-mgr.c
index
212f908
..
7182e7c
100644
(file)
--- a/
src/widgets/modest-window-mgr.c
+++ b/
src/widgets/modest-window-mgr.c
@@
-907,8
+907,11
@@
modest_window_mgr_show_initial_window (ModestWindowMgr *self)
/* If there are no accounts then show the account wizard */
mgr = modest_runtime_get_account_mgr();
/* If there are no accounts then show the account wizard */
mgr = modest_runtime_get_account_mgr();
- if (!modest_account_mgr_has_accounts (mgr, TRUE))
- modest_ui_actions_run_account_setup_wizard (window);
+ if (!modest_account_mgr_has_accounts (mgr, TRUE)) {
+ if (!modest_ui_actions_run_account_setup_wizard (window)) {
+ g_debug ("%s: couldn't show account setup wizard", __FUNCTION__);
+ }
+ }
}
return window;
}
return window;