aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-15 00:41:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-15 01:38:12 +0800
commit6d9e836a6fa0bb501f9fad4306373092bd758d29 (patch)
tree7843b42c00bc45175bbe8e80059cf2643aa1ee89 /composer
parent374bd42f69aca2e132fd854c9619f3d7491f1f96 (diff)
parente5fe0c9a3b74bf4910d768d65bb59a53c3792001 (diff)
downloadgsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.tar.gz
gsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.tar.zst
gsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.zip
Merge branch 'master' into kill-bonobo
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);
}