Merge lp:~larsu/evolution/revert-reverting-0cb0dc0 into lp:~ubuntu-desktop/evolution/ubuntu

Proposed by Lars Karlitski
Status: Merged
Merged at revision: 344
Proposed branch: lp:~larsu/evolution/revert-reverting-0cb0dc0
Merge into: lp:~ubuntu-desktop/evolution/ubuntu
Diff against target: 46 lines (+0/-34)
2 files modified
debian/patches/revert-0001-Bug-699576-Mail-reader-frame-is-black-in-the-mail-vi.patch (+0/-33)
debian/patches/series (+0/-1)
To merge this branch: bzr merge lp:~larsu/evolution/revert-reverting-0cb0dc0
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+206698@code.launchpad.net

Description of the change

Revert reverting upstream commit 0cb0dc0

Evolution's mail view was is black with gtk 3.10. We need this commit again so that the themes can set a background on the mail view widgets.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== removed file 'debian/patches/revert-0001-Bug-699576-Mail-reader-frame-is-black-in-the-mail-vi.patch'
--- debian/patches/revert-0001-Bug-699576-Mail-reader-frame-is-black-in-the-mail-vi.patch 2013-12-02 17:55:58 +0000
+++ debian/patches/revert-0001-Bug-699576-Mail-reader-frame-is-black-in-the-mail-vi.patch 1970-01-01 00:00:00 +0000
@@ -1,33 +0,0 @@
1Description: Revert 0cb0dc0dddf915d0c6d6baa522beaa0cfeb0fefe; it causes black backgrounds in evolution.
2Bug-Upstream: https://bugzilla.gnome.org/show_bug.cgi?id=699576
3
4reverted:
5--- b/em-format/e-mail-formatter.c
6+++ a/em-format/e-mail-formatter.c
7@@ -491,10 +491,6 @@
8 widget_path = gtk_widget_path_new ();
9 gtk_widget_path_append_type (widget_path, GTK_TYPE_WINDOW);
10 gtk_style_context_set_path (style_context, widget_path);
11- gtk_style_context_invalidate (style_context);
12-
13- gtk_style_context_save (style_context);
14- gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_TOOLBAR);
15
16 gtk_style_context_get_background_color (style_context, state, &rgba);
17 e_mail_formatter_set_color (
18@@ -506,13 +502,12 @@
19 e_mail_formatter_set_color (
20 formatter, E_MAIL_FORMATTER_COLOR_FRAME, &rgba);
21
22- gtk_style_context_restore (style_context);
23- gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_ENTRY);
24-
25 gtk_style_context_get_color (style_context, state, &rgba);
26 e_mail_formatter_set_color (
27 formatter, E_MAIL_FORMATTER_COLOR_HEADER, &rgba);
28
29+ gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_ENTRY);
30+
31 gtk_style_context_get_background_color (
32 style_context, state | GTK_STATE_FLAG_FOCUSED, &rgba);
33 e_mail_formatter_set_color (
340
=== modified file 'debian/patches/series'
--- debian/patches/series 2013-12-02 17:55:58 +0000
+++ debian/patches/series 2014-02-17 11:54:47 +0000
@@ -6,4 +6,3 @@
620_skip_broken_gconf_conversions.patch620_skip_broken_gconf_conversions.patch
791_add_u1_email_translations.patch791_add_u1_email_translations.patch
8alarm-notify-nodisplay.patch8alarm-notify-nodisplay.patch
9revert-0001-Bug-699576-Mail-reader-frame-is-black-in-the-mail-vi.patch

Subscribers

People subscribed via source and target branches