aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-05-04 05:54:35 +0800
committerFederico Mena Quintero <federico@novell.com>2010-05-04 07:17:17 +0800
commit9a6064142f77c7ca112424bad68ddc5dd6d63d8f (patch)
treeb686db377dd1bd4f7dc5e357e67da76bef58ff62
parentfaa40288d4b15950c7df7c324c8afa4ba578b25a (diff)
downloadgsoc2013-evolution-9a6064142f77c7ca112424bad68ddc5dd6d63d8f.tar.gz
gsoc2013-evolution-9a6064142f77c7ca112424bad68ddc5dd6d63d8f.tar.zst
gsoc2013-evolution-9a6064142f77c7ca112424bad68ddc5dd6d63d8f.zip
Always show a button in the label of name selectors
This is so that the address picker will be available; there is no good reason to hide it. This basically reverts commit 70c799f348cc366668cac2510294f68fb5d8f6a8 Signed-off-by: Federico Mena Quintero <federico@novell.com>
-rw-r--r--composer/e-composer-name-header.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c
index aaa253b9c1..39e079a790 100644
--- a/composer/e-composer-name-header.c
+++ b/composer/e-composer-name-header.c
@@ -292,9 +292,11 @@ e_composer_name_header_new (const gchar *label,
{
g_return_val_if_fail (E_IS_NAME_SELECTOR (name_selector), NULL);
- return g_object_new (
- E_TYPE_COMPOSER_NAME_HEADER, "label", label,
- "button", !e_msg_composer_get_lite(), "name-selector", name_selector, NULL);
+ return g_object_new (E_TYPE_COMPOSER_NAME_HEADER,
+ "label", label,
+ "button", TRUE,
+ "name-selector", name_selector,
+ NULL);
}
ENameSelector *