diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-05-10 22:41:28 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-05-10 22:41:28 +0800 |
commit | 8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a (patch) | |
tree | d1a716b433e5ba893e57eb2be2f8e842e6608e12 /composer/e-composer-name-header.c | |
parent | 476ad289ef964173b4d8d9c7cbc9b737675a5c4e (diff) | |
parent | 20cb61bd444cc8db3c1188b15af99886c84c140e (diff) | |
download | gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar.gz gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar.bz2 gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar.lz gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar.xz gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.tar.zst gsoc2013-evolution-8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a.zip |
Merge commit 'origin/express2' into express2
Diffstat (limited to 'composer/e-composer-name-header.c')
-rw-r--r-- | composer/e-composer-name-header.c | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c index 658e7cc292..39e079a790 100644 --- a/composer/e-composer-name-header.c +++ b/composer/e-composer-name-header.c @@ -292,33 +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); -} - -EComposerHeader * -e_composer_name_header_new_with_label (const gchar *label, - ENameSelector *name_selector) -{ - return g_object_new ( - E_TYPE_COMPOSER_NAME_HEADER, "label", label, - "button", !e_msg_composer_get_lite(), "name-selector", name_selector, - "addaction", FALSE, "visible", TRUE, NULL); -} - -EComposerHeader * -e_composer_name_header_new_with_action (const gchar *label, - const gchar *action_label, - ENameSelector *name_selector) -{ - 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, - "addaction_text", action_label, - "addaction", action_label != NULL, NULL); + return g_object_new (E_TYPE_COMPOSER_NAME_HEADER, + "label", label, + "button", TRUE, + "name-selector", name_selector, + NULL); } ENameSelector * |