Hello community,

here is the log from the commit of package yelp for openSUSE:Factory checked in 
at 2015-08-07 00:19:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yelp (Old)
 and      /work/SRC/openSUSE:Factory/.yelp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yelp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yelp/yelp.changes        2015-05-18 
21:43:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yelp.new/yelp.changes   2015-08-07 
00:19:12.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug  4 14:15:30 UTC 2015 - [email protected]
+
+- Add yelp-not-use-active-bg-color.patch: yelp-settings: don't use
+  ACTIVE background color (bgo#749947). Patch from upstream git.
+
+-------------------------------------------------------------------

New:
----
  yelp-not-use-active-bg-color.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yelp.spec ++++++
--- /var/tmp/diff_new_pack.lZRFPl/_old  2015-08-07 00:19:13.000000000 +0200
+++ /var/tmp/diff_new_pack.lZRFPl/_new  2015-08-07 00:19:13.000000000 +0200
@@ -28,6 +28,8 @@
 Patch0:         yelp-2.13.5-use-susehelp.patch
 # PATCH-FEATURE-OPENSUSE yelp-lang-bundle.patch bnc#689979 [email protected] 
-- Support help documents shipped in bundles
 Patch1:         yelp-lang-bundle.patch
+# PATCH-FIX-UPSTREAM yelp-not-use-active-bg-color.patch bgo#749947 
[email protected] -- yelp-settings: don't use ACTIVE background color.
+Patch2:         yelp-not-use-active-bg-color.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gnome-common
@@ -88,6 +90,7 @@
 # For now we prefer to be launched in yelp, even in a KDE session.
 #patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # needed by patch0

++++++ yelp-not-use-active-bg-color.patch ++++++
>From 5e522a1e03ceb69517d4d2e6499f993e43453822 Mon Sep 17 00:00:00 2001
From: Lars Uebernickel <[email protected]>
Date: Wed, 27 May 2015 11:03:15 +0200
Subject: yelp-settings: don't use ACTIVE background color

GTK_STATE_FLAG_ACTIVE is meant for depressed buttons or the currently
selected row in a list box.

It did use NORMAL prior to b6ac534.

https://bugzilla.gnome.org/show_bug.cgi?id=749947

diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c
index 866cb1d..c29e7b9 100644
--- a/libyelp/yelp-settings.c
+++ b/libyelp/yelp-settings.c
@@ -897,7 +897,7 @@ gtk_theme_changed (GtkSettings  *gtk_settings,
     linkcontext = gtk_widget_get_style_context (tmplink);
 
     gtk_style_context_get_color (context, GTK_STATE_FLAG_NORMAL, &text);
-    gtk_style_context_get_background_color (context, GTK_STATE_FLAG_ACTIVE, 
&base);
+    gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, 
&base);
 
     rgb_to_hsv (text, &text_h, &text_s, &text_v);
     rgb_to_hsv (base, &base_h, &base_s, &base_v);
-- 
cgit v0.10.2


Reply via email to