From 0274669179600ac77475eed9870d2eab52c2cf14 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 12 Jul 2009 23:33:07 -0400 Subject: Fix excessive whitespace. --- composer/e-composer-header.c | 2 +- composer/e-msg-composer.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'composer') diff --git a/composer/e-composer-header.c b/composer/e-composer-header.c index 980e11c338..c5b710830a 100644 --- a/composer/e-composer-header.c +++ b/composer/e-composer-header.c @@ -432,7 +432,7 @@ e_composer_header_set_visible (EComposerHeader *header, if (!visible) gtk_label_set_markup ((GtkLabel *)header->priv->action_label, g_object_get_data ((GObject *)header->priv->action_label, "show")); else - gtk_label_set_markup ((GtkLabel *)header->priv->action_label, g_object_get_data ((GObject *)header->priv->action_label, "hide")); + gtk_label_set_markup ((GtkLabel *)header->priv->action_label, g_object_get_data ((GObject *)header->priv->action_label, "hide")); } g_object_notify (G_OBJECT (header), "visible"); } diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index a7a2dfaf62..d7d9c034c0 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2287,7 +2287,6 @@ e_msg_composer_new (void) return g_object_new (E_TYPE_MSG_COMPOSER, NULL); } - void e_msg_composer_set_lite (void) { -- cgit v1.2.3 From 70c799f348cc366668cac2510294f68fb5d8f6a8 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 14 Jul 2009 10:25:42 +0530 Subject: Don't have name selector buttons for Anjal's composer but only for Evo. --- composer/e-composer-name-header.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'composer') 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); } -- cgit v1.2.3 From ecf403c2b94b8e3ca65f487a098317e173321f7d Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 14 Jul 2009 12:44:51 +0530 Subject: Fix a compiler warning --- composer/e-composer-name-header.c | 1 + 1 file changed, 1 insertion(+) (limited to 'composer') diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c index 63ae0a2680..47936eeeab 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 -- cgit v1.2.3