Blame SOURCES/evolution-3.8.5-signature-bar-text-color.patch

c72ca9
diff -up evolution-3.8.5/em-format/e-mail-formatter-secure-button.c.signature-bar-text-color evolution-3.8.5/em-format/e-mail-formatter-secure-button.c
c72ca9
--- evolution-3.8.5/em-format/e-mail-formatter-secure-button.c.signature-bar-text-color	2013-07-23 14:51:36.000000000 +0200
c72ca9
+++ evolution-3.8.5/em-format/e-mail-formatter-secure-button.c	2013-10-17 12:42:10.161068435 +0200
c72ca9
@@ -66,8 +66,13 @@ static const struct {
c72ca9
 	{ "stock_lock-ok", N_("Encrypted, strong"), N_("This message is encrypted, with a strong encryption algorithm. It would be very difficult for an outsider to view the content of this message in a practical amount of time.") },
c72ca9
 };
c72ca9
 
c72ca9
-static const GdkRGBA smime_sign_colour[5] = {
c72ca9
-	{ 0 }, { 0.53, 0.73, 0.53, 1 }, { 0.73, 0.53, 0.53, 1 }, { 0.91, 0.82, 0.13, 1 }, { 0 },
c72ca9
+static const GdkRGBA smime_sign_colour[6] = {
c72ca9
+	{ 0.0, 0.0, 0.0, 0.0 },
c72ca9
+	{ 0.53, 0.73, 0.53, 1.0 },
c72ca9
+	{ 0.73, 0.53, 0.53, 1.0 },
c72ca9
+	{ 0.91, 0.82, 0.13, 1.0 },
c72ca9
+	{ 0.0, 0.0, 0.0, 0.0 },
c72ca9
+	{ 0.0, 0.0, 0.0, 1.0 }
c72ca9
 };
c72ca9
 
c72ca9
 static gboolean
c72ca9
@@ -414,6 +419,8 @@ secure_button_get_widget_for_validity (C
c72ca9
 	gtk_button_set_image (GTK_BUTTON (button), widget);
c72ca9
 
c72ca9
 	widget = gtk_label_new (description);
c72ca9
+	/* make sure the text color doesn't change with theme */
c72ca9
+	gtk_widget_override_color (widget, GTK_STATE_FLAG_NORMAL, &smime_sign_colour[5]);
c72ca9
 	gtk_box_pack_start (GTK_BOX (layout), widget, FALSE, FALSE, 0);
c72ca9
 
c72ca9
 	g_free (description);