From 92752209b23c6309f728bd546d4ff0ef88a3c0ed Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jun 21 2015 19:25:44 +0000 Subject: Add patch to fix tooltips in firefox dark themes. Fixes bug #1208888 --- diff --git a/greybird-tooltips-firefox.patch b/greybird-tooltips-firefox.patch new file mode 100644 index 0000000..6e2199e --- /dev/null +++ b/greybird-tooltips-firefox.patch @@ -0,0 +1,20 @@ +commit 57f29e7b6c5f1b0f16cc6991e57634bf64a16c9e +Author: Simon Steinbeiss +Date: Sat Apr 4 14:45:01 2015 +0200 + + Try to fix Firefox's tooltips in Gtk3 + +diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css +index dca2b28..3af0c11 100644 +--- a/gtk-3.0/gtk-widgets.css ++++ b/gtk-3.0/gtk-widgets.css +@@ -3551,7 +3551,8 @@ GtkColorButton.button { + /*********** + * tooltip * + ***********/ +-.tooltip { ++.tooltip, ++.tooltip.background { + border-width: 1px; + border-style: solid; + border-color: alpha(@theme_tooltip_bg_color, 0.9); diff --git a/greybird.spec b/greybird.spec index 9686dde..562bd06 100644 --- a/greybird.spec +++ b/greybird.spec @@ -2,14 +2,18 @@ Name: greybird Version: 1.5.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A clean minimalistic theme for Xfce, GTK+ 2 and 3 License: GPLv2+ or CC-BY-SA URL: http://shimmerproject.org/project/%{name}/ Source0: https://github.com/shimmerproject/%{theme_name}/archive/v%{version}.tar.gz +# Already upstream. +# https://bugzilla.redhat.com/show_bug.cgi?id=1208888 +# +Patch0: greybird-tooltips-firefox.patch -BuildArch: noarch +BuildArch: noarch %description Greybird is a theme for GTK2/3 and xfwm4/metacity started out on the basis of @@ -58,6 +62,8 @@ Themes for Xfce4 notifyd as part of the Greybird theme. %setup -q -n %{theme_name}-%{version} +%patch0 -p1 + # Cleanup # Remove Unity theme rm -f gtk-3.0/apps/unity.css @@ -106,6 +112,9 @@ cp -pr gtk-2.0/ gtk-3.0/ metacity-1/ xfwm4/ xfwm4_compact/ xfce-notify-4.0/ %{bu %{_datadir}/themes/%{theme_name}/xfce-notify-4.0/ %changelog +* Sun Jun 21 2015 Kevin Fenzi 1.5.3-4 +- Add patch to fix tooltips in firefox dark themes. Fixes bug #1208888 + * Wed Jun 17 2015 Fedora Release Engineering - 1.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild