aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJain Vivek <jvivek@src.gnome.org>2004-12-15 17:16:23 +0800
committerJain Vivek <jvivek@src.gnome.org>2004-12-15 17:16:23 +0800
commitcc1e58a93f9c3b0810681888e454ed75ad3e9e5f (patch)
tree2a221dd0ee771e0d06d79af0cffdb3c09c2cc0bf /addressbook
parent0aeb303207da5a3ff7f6a60e61f735807b5b7cc1 (diff)
downloadgsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.gz
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.bz2
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.lz
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.xz
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.zst
gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.zip
set the window title based upon the source
* gui/component/addressbook-config.c (addressbook_config_edit_source): set the window title based upon the source svn path=/trunk/; revision=28128
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-config.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c6e6d21e7a..5ef6be4969 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-13 Vivek Jain <jvivek@novell.com>
+
+ * gui/component/addressbook-config.c (addressbook_config_edit_source): set the
+ window title based upon the source
+
2004-12-08 Hans Petter Jansson <hpj@novell.com>
* gui/component/addressbook-migrate.c
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 54fe37d314..8c7fe03968 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -1067,7 +1067,11 @@ addressbook_config_edit_source (GtkWidget *parent, ESource *source)
target = eab_config_target_new_source(ec, sdialog->source);
e_config_set_target((EConfig *)ec, (EConfigTarget *)target);
- sdialog->window = e_config_create_window((EConfig *)ec, NULL, _("Address Book Properties"));
+ if(source)
+ sdialog->window = e_config_create_window((EConfig *)ec, NULL, _("Address Book Properties"));
+ else
+ sdialog->window = e_config_create_window((EConfig *)ec, NULL, _("New Address Book"));
+
/* forces initial validation */
if (!sdialog->original_source)