aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook-component.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 3e300ed0ef..e7589fad72 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
2003-05-19 Chris Toshok <toshok@ximian.com>
+ * gui/component/addressbook-component.c
+ (ensure_completion_uris_exist): fix the initial run case. the
+ config upgrade code creates all elements so we can't just check
+ for NULL - we have to check if the string is empty. Fixes #43213.
+
+2003-05-19 Chris Toshok <toshok@ximian.com>
+
* gui/widgets/e-minicard-label.c (set_colors): if we've got focus,
set the background of the rect to bg[NORMAL], and the fill color
of the text and label to text[NORMAL]. This will make the
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index ba18f65e63..f90df5f65a 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -601,6 +601,11 @@ ensure_completion_uris_exist()
val = e_config_listener_get_string (db, "/apps/evolution/addressbook/completion/uris");
+ if (val && !*val) {
+ g_free (val);
+ val = NULL;
+ }
+
if (!val) {
EFolderListItem f[2];
char *dirname, *uri;