aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-07 19:32:32 +0800
committerMilan Crha <mcrha@redhat.com>2011-03-07 19:32:32 +0800
commit6ad4de8a4ef6139d48bf13e9c817002bf1591e53 (patch)
treee8328983960ab615890a85830d88d50701241f58 /modules/addressbook
parent40da2dc117f398fd1140f804e9501fe975b8c184 (diff)
downloadgsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar.gz
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar.bz2
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar.lz
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar.xz
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.tar.zst
gsoc2013-evolution-6ad4de8a4ef6139d48bf13e9c817002bf1591e53.zip
Bug #644107 - Local addressbooks created without relative_uri set
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/addressbook-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c
index 805cfe40b3..c7f1db51ca 100644
--- a/modules/addressbook/addressbook-config.c
+++ b/modules/addressbook/addressbook-config.c
@@ -1232,8 +1232,10 @@ addressbook_config_edit_source (GtkWidget *parent, ESource *source)
sdialog->window = e_config_create_window((EConfig *)ec, NULL, _("New Address Book"));
/* forces initial validation */
- if (!sdialog->original_source)
+ if (!sdialog->original_source) {
+ e_source_set_relative_uri (sdialog->source, e_source_peek_uid (sdialog->source));
e_config_target_changed ((EConfig *)ec, E_CONFIG_TARGET_CHANGED_STATE);
+ }
return sdialog->window;
}