diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-05-01 05:33:26 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-05-01 06:38:45 +0800 |
commit | faa40288d4b15950c7df7c324c8afa4ba578b25a (patch) | |
tree | a6f30eca0c08e85cee4be74d4fe846bcf5c5582c /composer/e-composer-text-header.c | |
parent | 5b075e47acca63c7d66df597956653aafc2713ac (diff) | |
download | gsoc2013-evolution-faa40288d4b15950c7df7c324c8afa4ba578b25a.tar.gz gsoc2013-evolution-faa40288d4b15950c7df7c324c8afa4ba578b25a.tar.zst gsoc2013-evolution-faa40288d4b15950c7df7c324c8afa4ba578b25a.zip |
Don't lay out the headers differently for the lite composer
This is basically a selective revert of these commits:
9b0e9dc0aeffd627ce2bdea049cc7c47bb7418f0
631da1b6baf2204ebb844a1d3962c2c7d811eb41
5d4e8994e83c9ab650981c332eaef57f4fab2788
Instead of having buttons to show/hide headers in the same row as the 'To:' header,
we will have expanders or something prettier, a la googlemail.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'composer/e-composer-text-header.c')
-rw-r--r-- | composer/e-composer-text-header.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/composer/e-composer-text-header.c b/composer/e-composer-text-header.c index e765237a2d..efbf141cea 100644 --- a/composer/e-composer-text-header.c +++ b/composer/e-composer-text-header.c @@ -108,23 +108,21 @@ e_composer_text_header_get_type (void) } EComposerHeader * -e_composer_text_header_new_label (const gchar *label, const gchar *action_label) +e_composer_text_header_new_label (const gchar *label) { - return g_object_new ( - E_TYPE_COMPOSER_TEXT_HEADER, "label", label, - "button", FALSE, "addaction", action_label && *action_label, - "addaction_text", action_label, - "visible", action_label == NULL, NULL); + return g_object_new (E_TYPE_COMPOSER_TEXT_HEADER, + "label", label, + "button", FALSE, + NULL); } EComposerHeader * -e_composer_text_header_new_button (const gchar *label, const gchar *action_label) +e_composer_text_header_new_button (const gchar *label) { - return g_object_new ( - E_TYPE_COMPOSER_TEXT_HEADER, "label", label, - "button", TRUE, "addaction", action_label != NULL, - "addaction_text", action_label, - "visible", action_label == NULL, NULL); + return g_object_new (E_TYPE_COMPOSER_TEXT_HEADER, + "label", label, + "button", TRUE, + NULL); } const gchar * |