aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-name-header.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c
index 7184bbec89..5eed2e42c1 100644
--- a/composer/e-composer-name-header.c
+++ b/composer/e-composer-name-header.c
@@ -18,6 +18,7 @@
*
*/
+#include "e-msg-composer.h"
#include "e-composer-name-header.h"
#include <glib/gi18n.h>
@@ -263,7 +264,7 @@ e_composer_name_header_new (const gchar *label,
return g_object_new (
E_TYPE_COMPOSER_NAME_HEADER, "label", label,
- "button", TRUE, "name-selector", name_selector, NULL);
+ "button", !e_msg_composer_get_lite(), "name-selector", name_selector, NULL);
}
EComposerHeader *
@@ -272,7 +273,7 @@ e_composer_name_header_new_with_label (const gchar *label,
{
return g_object_new (
E_TYPE_COMPOSER_NAME_HEADER, "label", label,
- "button", TRUE, "name-selector", name_selector,
+ "button", !e_msg_composer_get_lite(), "name-selector", name_selector,
"addaction", FALSE, "visible", TRUE, NULL);
}
@@ -285,7 +286,7 @@ e_composer_name_header_new_with_action (const gchar *label,
return g_object_new (
E_TYPE_COMPOSER_NAME_HEADER, "label", label,
- "button", TRUE, "name-selector", name_selector,
+ "button", !e_msg_composer_get_lite(), "name-selector", name_selector,
"addaction_text", action_label,
"addaction", action_label != NULL, NULL);
}