[gnome-tweak-tool/f16] Add patch to fix shell theme selection
Mohamed ElMorabity
melmorabity at fedoraproject.org
Tue Jan 31 03:44:40 UTC 2012
commit 1f70698888f34381a9235400e13352e124fbc97a
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date: Tue Jan 31 04:43:14 2012 +0100
Add patch to fix shell theme selection
gnome-tweak-tool-3.2.2-fix-user-theme.patch | 28 +++++++++++++++++++++++++++
gnome-tweak-tool.spec | 10 ++++++++-
2 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/gnome-tweak-tool-3.2.2-fix-user-theme.patch b/gnome-tweak-tool-3.2.2-fix-user-theme.patch
new file mode 100644
index 0000000..2f63e51
--- /dev/null
+++ b/gnome-tweak-tool-3.2.2-fix-user-theme.patch
@@ -0,0 +1,28 @@
+From af33b09d1f21eb3698c4977a4345b6badbefccc2 Mon Sep 17 00:00:00 2001
+From: Nuno Araujo <nuno.araujo at russo79.com>
+Date: Wed, 23 Nov 2011 17:30:28 +0000
+Subject: Fix user-theme extension UUID
+
+Since version 3.2.1, gnome-shell extensions changed their UUID to another value.
+According to the changelog, this was made because gnome.org is temporarily
+forbidden in UUIDS.
+
+As a consequence, gnome-tweak-tool didn't detect the user-theme extension.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=664655
+---
+diff --git a/gtweak/tweaks/tweak_shell.py b/gtweak/tweaks/tweak_shell.py
+index 4de335a..75dc5d8 100644
+--- a/gtweak/tweaks/tweak_shell.py
++++ b/gtweak/tweaks/tweak_shell.py
+@@ -43,7 +43,7 @@ class ShowWindowButtons(GConfComboTweak):
+
+ class ShellThemeTweak(Tweak):
+
+- THEME_EXT_NAME = "user-theme at gnome-shell-extensions.gnome.org"
++ THEME_EXT_NAME = "user-theme at gnome-shell-extensions.gcampax.github.com"
+ THEME_GSETTINGS_SCHEMA = "org.gnome.shell.extensions.user-theme"
+ THEME_GSETTINGS_NAME = "name"
+ THEME_DIR = os.path.join(GLib.get_home_dir(), ".themes")
+--
+cgit v0.9.0.2
diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec
index f347534..861a92c 100644
--- a/gnome-tweak-tool.spec
+++ b/gnome-tweak-tool.spec
@@ -1,11 +1,14 @@
Name: gnome-tweak-tool
Version: 3.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A tool to customize advanced GNOME 3 options
License: GPLv3
URL: http://live.gnome.org/GnomeTweakTool
Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-tweak-tool/3.2/gnome-tweak-tool-%{version}.tar.xz
+# Fix user-theme extension UUID to make gnome-tweak-tool detect it again (see
+# https://bugzilla.gnome.org/show_bug.cgi?id=664655)
+Patch0: %{name}-3.2.2-fix-user-theme.patch
BuildArch: noarch
BuildRequires: GConf2
@@ -39,6 +42,7 @@ Features:
%prep
%setup -q -n %{name}-%{version}
+%patch0 -p1 -b .fix-user-theme
%build
@@ -64,6 +68,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%changelog
+* Tue Jan 31 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.2.2-2
+- Fix shell theme selection (see
+ https://bugzilla.gnome.org/show_bug.cgi?id=664655)
+
* Sat Jan 21 2012 Michel Salim <salimma at fedoraproject.org> - 3.2.2-1
- Update to 3.2.2
More information about the scm-commits
mailing list