aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2009-07-14 12:55:42 +0800
committerSrinivasa Ragavan <sragavan@novell.com>2009-07-14 12:55:42 +0800
commit70c799f348cc366668cac2510294f68fb5d8f6a8 (patch)
tree8ac366a217997ecebb77fc96f3be5614ef223993
parent9ba45697b503c507088ef141b7f99e5bb6eebff2 (diff)
downloadgsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar.gz
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar.bz2
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar.lz
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar.xz
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.tar.zst
gsoc2013-evolution-70c799f348cc366668cac2510294f68fb5d8f6a8.zip
Don't have name selector buttons for Anjal's composer but only for Evo.
-rw-r--r--composer/e-composer-name-header.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c
index bfc9441fb7..63ae0a2680 100644
--- a/composer/e-composer-name-header.c
+++ b/composer/e-composer-name-header.c
@@ -260,7 +260,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 *
@@ -269,7 +269,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);
}
@@ -282,7 +282,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);
}