diff options
author | Jain Vivek <jvivek@src.gnome.org> | 2004-12-15 17:16:23 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2004-12-15 17:16:23 +0800 |
commit | cc1e58a93f9c3b0810681888e454ed75ad3e9e5f (patch) | |
tree | 2a221dd0ee771e0d06d79af0cffdb3c09c2cc0bf /addressbook/gui | |
parent | 0aeb303207da5a3ff7f6a60e61f735807b5b7cc1 (diff) | |
download | gsoc2013-evolution-cc1e58a93f9c3b0810681888e454ed75ad3e9e5f.tar.gz 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/gui')
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 6 |
1 files changed, 5 insertions, 1 deletions
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) |