Package: libgtkhtml-4.0-0
Version: 4.8.4-3
Severity: minor
File: libgtkhtml

Dear Maintainer,

Please find attached a patch that renames a color label that is no longer
available in gtk 3.14 - fixing unreadable email composer in dark variant.

Forwarded upstream.

Jérémy.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (670, 'unstable'), (650, 'testing'), (590, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgtkhtml-4.0-0 depends on:
ii  libatk1.0-0            2.13.90-1
ii  libc6                  2.19-11
ii  libcairo-gobject2      1.12.16-5
ii  libcairo2              1.12.16-5
ii  libenchant1c2a         1.6.0-10.1
ii  libgail-3-0            3.14.0-1
ii  libgdk-pixbuf2.0-0     2.30.8-1
ii  libglib2.0-0           2.42.0-1
ii  libgtk-3-0             3.14.0-1
ii  libgtkhtml-4.0-common  4.8.4-3
ii  libpango-1.0-0         1.36.7-1
ii  libpangocairo-1.0-0    1.36.7-1

libgtkhtml-4.0-0 recommends no packages.

libgtkhtml-4.0-0 suggests no packages.

-- no debconf information
Description: theme_text_color replaced by theme_fg_color
 there is no theme_text_color in gtk 3.14, this results in dark-on-dark
 unreadable widgets using Adwaita dark variant.
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=737340
Author: Jérémy Lal <kapo...@melix.org>
Last-Update: 2014-09-25

--- gtkhtml4.0-4.8.4.orig/gtkhtml/htmlcolorset.c
+++ gtkhtml4.0-4.8.4/gtkhtml/htmlcolorset.c
@@ -217,7 +217,7 @@ html_colorset_set_style (HTMLColorSet *s
 	backdrop = (state_flags & GTK_STATE_FLAG_BACKDROP) != 0;
 
 	SET_COLOR_STYLE (Bg,   backdrop ? "theme_unfocused_base_color" : "theme_base_color",   "#ffffff");
-	SET_COLOR_STYLE (Text, backdrop ? "theme_unfocused_text_color" : "theme_text_color", "#000000");
+	SET_COLOR_STYLE (Text, backdrop ? "theme_unfocused_fg_color" : "theme_fg_color", "#000000");
 
 	SET_COLOR_STYLE (Highlight,       backdrop ? "theme_unfocused_selected_bg_color" : "theme_selected_bg_color", "#7f7fff");
 	SET_COLOR_STYLE (HighlightText,   backdrop ? "theme_unfocused_selected_fg_color" : "theme_selected_fg_color", "#000000");

Reply via email to