[evolution] Bug #610382 - No addressbook selected on account disable
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #610382 - No addressbook selected on account disable
- Date: Thu, 25 Feb 2010 14:18:24 +0000 (UTC)
commit 5b2ab38e34402f27c8e2365cd1e105b5a7a35e86
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 25 15:18:01 2010 +0100
Bug #610382 - No addressbook selected on account disable
addressbook/gui/widgets/e-addressbook-selector.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/gui/widgets/e-addressbook-selector.c b/addressbook/gui/widgets/e-addressbook-selector.c
index d33680a..3fcf8e8 100644
--- a/addressbook/gui/widgets/e-addressbook-selector.c
+++ b/addressbook/gui/widgets/e-addressbook-selector.c
@@ -168,7 +168,9 @@ addressbook_selector_load_primary_source (ESourceSelector *selector)
if (uid != NULL) {
source = e_source_list_peek_source_by_uid (source_list, uid);
g_free (uid);
- } else {
+ }
+
+ if (source == NULL) {
GSList *groups;
/* Dig up the first source in the source list.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]