[evolution] Switch side of a wider border for signed/encrypted mail frame
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Switch side of a wider border for signed/encrypted mail frame
- Date: Thu, 12 Feb 2015 12:49:23 +0000 (UTC)
commit 2122c6510cdb764cac6d7042954c560ea172ea7c
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 12 13:46:45 2015 +0100
Switch side of a wider border for signed/encrypted mail frame
A 4-pixel wide border looked fine for single emails, but once
the message was part of a conversation, with quoted replies,
the wider border was confusing, too close to the quotation line.
This change moves the wider border to the opposite side.
mail/e-mail-display.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 44d7f3b..dc5e0cb 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -907,7 +907,7 @@ initialize_web_view_colors (EMailDisplay *display)
/* the rgba values below were copied from e-formatter-secure-button */
direction = gtk_widget_get_default_direction ();
- if (direction == GTK_TEXT_DIR_LTR)
+ if (direction == GTK_TEXT_DIR_RTL)
style = "border-width: 1px 1px 1px 4px; border-style: solid; border-color: rgba(53%, 73%,
53%, 1.0)";
else
style = "border-width: 1px 4px 1px 1px; border-style: solid; border-color: rgba(53%, 73%,
53%, 1.0)";
@@ -917,7 +917,7 @@ initialize_web_view_colors (EMailDisplay *display)
".-e-mail-formatter-frame-security-good",
style);
- if (direction == GTK_TEXT_DIR_LTR)
+ if (direction == GTK_TEXT_DIR_RTL)
style = "border-width: 1px 1px 1px 4px; border-style: solid; border-color: rgba(73%, 53%,
53%, 1.0)";
else
style = "border-width: 1px 4px 1px 1px; border-style: solid; border-color: rgba(73%, 53%,
53%, 1.0)";
@@ -927,7 +927,7 @@ initialize_web_view_colors (EMailDisplay *display)
".-e-mail-formatter-frame-security-bad",
style);
- if (direction == GTK_TEXT_DIR_LTR)
+ if (direction == GTK_TEXT_DIR_RTL)
style = "border-width: 1px 1px 1px 4px; border-style: solid; border-color: rgba(91%, 82%,
13%, 1.0)";
else
style = "border-width: 1px 4px 1px 1px; border-style: solid; border-color: rgba(91%, 82%,
13%, 1.0)";
@@ -937,7 +937,7 @@ initialize_web_view_colors (EMailDisplay *display)
".-e-mail-formatter-frame-security-unknown",
style);
- if (direction == GTK_TEXT_DIR_LTR)
+ if (direction == GTK_TEXT_DIR_RTL)
style = "border-width: 1px 1px 1px 4px; border-style: solid; border-color: rgba(91%, 82%,
13%, 1.0)";
else
style = "border-width: 1px 4px 1px 1px; border-style: solid; border-color: rgba(91%, 82%,
13%, 1.0)";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]