diff options
author | Milan Crha <mcrha@redhat.com> | 2011-03-07 19:32:32 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:42 +0800 |
commit | cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f (patch) | |
tree | a36d135f03fa245a8f594b410c1fb1a135b40435 /modules/addressbook/addressbook-config.c | |
parent | 3b641d44e6059ac462c23124638c1bc21c9f5b80 (diff) | |
download | gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar.gz gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar.bz2 gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar.lz gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar.xz gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.tar.zst gsoc2013-evolution-cb7d85c41a7d47b87c5ff6f3cdb508efda68d85f.zip |
Bug #644107 - Local addressbooks created without relative_uri set
Diffstat (limited to 'modules/addressbook/addressbook-config.c')
-rw-r--r-- | modules/addressbook/addressbook-config.c | 4 |
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; } |