[greybird] Add patch to fix gtk3 issues. Thanks poma
Kevin Fenzi
kevin at fedoraproject.org
Fri Oct 3 18:42:03 UTC 2014
commit 59553769d20c1f37d805259e8fc01a0c21883d7f
Author: Kevin Fenzi <kevin at scrye.com>
Date: Fri Oct 3 12:41:55 2014 -0600
Add patch to fix gtk3 issues. Thanks poma
- Fixes bug #1114161
greybird-1.4-gtk3-fixes.patch | 146 +++++++++++++++++++++++++++++++++++++++++
greybird.spec | 9 ++-
2 files changed, 154 insertions(+), 1 deletions(-)
---
diff --git a/greybird-1.4-gtk3-fixes.patch b/greybird-1.4-gtk3-fixes.patch
new file mode 100644
index 0000000..90897e2
--- /dev/null
+++ b/greybird-1.4-gtk3-fixes.patch
@@ -0,0 +1,146 @@
+
+Changes probably related to:
+
+- http://ftp.gnome.org/pub/gnome/sources/gtk+/3.13/gtk+-3.13.3.news
+ Overview of Changes in GTK+ 3.13.2 to 3.13.3
+ ============================================
+
+ ...
+ * Theming:
+ - Use client-side shadows for menus and tooltips
+
+- http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.13/gtk+-3.13.7.news
+ Overview of Changes in GTK+ 3.13.6 to 3.13.7
+ ============================================
+
+ * To align better with css, button and menuitem subclasses now use a
+ :checked state to indicate their checkedness, instead of :active or
+ :selected.
+---
+ gtk-3.0/gtk-widgets.css | 93 +++++++++++++++++++++++++++++++++++++++----------
+ 1 file changed, 75 insertions(+), 18 deletions(-)
+
+diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css
+index 3428f75..5f4a6d9 100644
+--- a/gtk-3.0/gtk-widgets.css
++++ b/gtk-3.0/gtk-widgets.css
+@@ -346,23 +346,73 @@ row:selected:focus {
+ color: @theme_selected_fg_color;
+ }
+
+-/*******************
+- * check and radio *
+- *******************/
+-.check,
+-.radio,
+-.check:insensitive,
+-.radio:insensitive {
+- border-style: none;
+- background-color: transparent;
+-}
+-
+-GtkCheckButton:hover,
+-GtkCheckButton:active:hover,
+-GtkCheckButton:selected,
+-GtkCheckButton:selected:focus {
+- background-color: shade(@theme_bg_color, 1.05);
+-}
++/*****************************************************************************************************
++ * Check and Radio items *
++ * Related to recent gtk3 development, to reveal checkboxes as part of the dialogue *
++ * of some of the applications whose notification icons appear in the system tray *
++ * the reference section of the HighContrast theme is used. *
++ * https://git.gnome.org/browse/gnome-themes-standard/tree/themes/HighContrast/gtk-3.0/gtk.css#n1398 *
++ *****************************************************************************************************/
++
++GtkCheckButton.text-button, GtkRadioButton.text-button {
++ padding: 1px;
++ outline-offset: 0; }
++
++.check {
++ color: rgba(0, 0, 0, 0.1);
++ background-image: none;
++ -gtk-icon-source: -gtk-icontheme("checkbox-symbolic"); }
++ .check:hover {
++ color: #7f7f7f; }
++ .check:checked, .check:active {
++ -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic");
++ color: #000; }
++ .check:checked:hover, .check:active:hover {
++ color: #7f7f7f; }
++ .check:checked:insensitive, .check:active:insensitive {
++ color: #7f7f7f; }
++ .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
++ color: #7f7f7f; }
++ .check:checked:backdrop, .check:active:backdrop {
++ color: #000; }
++ .check:insensitive {
++ color: rgba(127, 127, 127, 0.1); }
++ .check:insensitive:backdrop {
++ color: transparent; }
++ .check:inconsistent {
++ -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); }
++ .check:backdrop {
++ color: rgba(0, 0, 0, 0.1); }
++ .check:backdrop:selected {
++ color: rgba(255, 255, 255, 0.1); }
++
++.radio {
++ color: rgba(0, 0, 0, 0.1);
++ background-image: none;
++ -gtk-icon-source: -gtk-icontheme("radio-symbolic"); }
++ .radio:hover {
++ color: #7f7f7f; }
++ .radio:checked, .radio:active {
++ -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic");
++ color: #000; }
++ .radio:checked:hover, .radio:active:hover {
++ color: #7f7f7f; }
++ .radio:checked:insensitive, .radio:active:insensitive {
++ color: #7f7f7f; }
++ .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
++ color: #7f7f7f; }
++ .radio:checked:backdrop, .radio:active:backdrop {
++ color: #000; }
++ .radio:insensitive {
++ color: rgba(127, 127, 127, 0.1); }
++ .radio:insensitive:backdrop {
++ color: transparent; }
++ .radio:inconsistent {
++ -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); }
++ .radio:backdrop {
++ color: rgba(0, 0, 0, 0.1); }
++ .radio:backdrop:selected {
++ color: rgba(255, 255, 255, 0.1); }
+
+ /*****************
+ * column-header *
+@@ -4135,13 +4185,19 @@ GtkBubbleWindow .toolbar {
+ icon-shadow: 0 1px shade(@titlebar_bg_color, 1.05);
+ }
+
++/****************************************************************************************
++ * Give and take related to recent gtk3 development, *
++ * to achieve full size of the icon menu of some of the applications whose notification *
++ * icons appear in the system tray, the "shadow" is disabled. *
++ ****************************************************************************************/
++/*
+ .window-frame {
+ border-style: none;
+ border-radius: 4px 4px 0 0;
+ box-shadow: 0 3px 7px alpha(black, 0.7),
+ 0 0 0 1px alpha(black, 0.3);
+
+- /* this is used for the resize cursor area */
++ * this is used for the resize cursor area
+ margin: 10px;
+ }
+
+@@ -4153,3 +4209,4 @@ GtkBubbleWindow .toolbar {
+ box-shadow: 0 3px 5px alpha(black, 0.5),
+ 0 0 0 1px alpha(black, 0.2);
+ }
++*/
+--
+2.1.0
+
diff --git a/greybird.spec b/greybird.spec
index e460358..347ab56 100644
--- a/greybird.spec
+++ b/greybird.spec
@@ -2,12 +2,13 @@
Name: greybird
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?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
+Patch0: greybird-1.4-gtk3-fixes.patch
BuildArch: noarch
@@ -67,6 +68,8 @@ sed -i '/unity\.css/d' gtk-3.0/gtk.css
sed -i '/lightdm-unity-greeter\.css/d' gtk-3.0/gtk.css
sed -i '/lightdm-gtk-greeter\.css/d' gtk-3.0/gtk.css
+%patch0 -p1
+
%build
# Nothing to build
@@ -106,6 +109,10 @@ 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
+* Fri Oct 03 2014 Kevin Fenzi <kevin at scrye.com> 1.4-2
+- Add patch to fix gtk3 issues. Thanks poma
+- Fixes bug #1114161
+
* Sun Aug 03 2014 Mukundan Ragavan <nonamedotc at fedoraproject.org> - 1.4-1
- Updated to 1.4
More information about the scm-commits
mailing list