diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 10:55:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 10:55:38 +0800 |
commit | 75a36a295adb64a012521c01724d6b2951986653 (patch) | |
tree | fce395d3b471b36867e6eb139b5608badd16256c /composer/e-composer-name-header.c | |
parent | 06563bd114ddc75e6b0efceddf1f6b2478ca9718 (diff) | |
download | gsoc2013-evolution-75a36a295adb64a012521c01724d6b2951986653.tar.gz gsoc2013-evolution-75a36a295adb64a012521c01724d6b2951986653.tar.zst gsoc2013-evolution-75a36a295adb64a012521c01724d6b2951986653.zip |
Fix composer header regression caused by Anjal merge.
Diffstat (limited to 'composer/e-composer-name-header.c')
-rw-r--r-- | composer/e-composer-name-header.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c index 472208edd3..ed4e60c6f9 100644 --- a/composer/e-composer-name-header.c +++ b/composer/e-composer-name-header.c @@ -265,28 +265,26 @@ e_composer_name_header_new (const gchar *label, EComposerHeader * e_composer_name_header_new_with_label (const gchar *label, - ENameSelector *name_selector) + ENameSelector *name_selector) { return g_object_new ( E_TYPE_COMPOSER_NAME_HEADER, "label", label, - "button", FALSE, "name-selector", name_selector, - "addaction", FALSE, "visible", TRUE, - NULL); + "button", TRUE, "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) + 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", FALSE, "name-selector", name_selector, + "button", TRUE, "name-selector", name_selector, "addaction_text", action_label, - "addaction", action_label != NULL, - NULL); + "addaction", action_label != NULL, NULL); } ENameSelector * |