[wallpapoz/f15/master] Modify for gsettings key name change
Mamoru Tasaka
mtasaka at fedoraproject.org
Fri Apr 15 15:27:42 UTC 2011
commit ef9306d2e2d2efdcd6126dba17ef688a5457a3ea
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Sat Apr 16 00:27:46 2011 +0900
Modify for gsettings key name change
wallpapoz-0.5-gsettings.patch | 4 ++--
wallpapoz.spec | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/wallpapoz-0.5-gsettings.patch b/wallpapoz-0.5-gsettings.patch
index 3fc3f9d..de36751 100644
--- a/wallpapoz-0.5-gsettings.patch
+++ b/wallpapoz-0.5-gsettings.patch
@@ -1,5 +1,5 @@
--- wallpapoz-0.5/share/wallpapoz/lib/wallpapoz_system.py.gsettings 2010-12-07 02:44:37.000000000 +0900
-+++ wallpapoz-0.5/share/wallpapoz/lib/wallpapoz_system.py 2010-12-07 03:10:04.000000000 +0900
++++ wallpapoz-0.5/share/wallpapoz/lib/wallpapoz_system.py 2011-04-16 00:13:47.000000000 +0900
@@ -171,6 +171,13 @@
os.system('gconftool-2 -t string -s /desktop/gnome/background/picture_filename ' +
'"' + wallpaper + '"' + ' -s /desktop/gnome/background/picture_options ' +
@@ -8,7 +8,7 @@
+ status=os.system("which gsettings &>/dev/null")
+ if status == 0:
+ basecommand='gsettings set org.gnome.desktop.background '
-+ os.system(basecommand + 'picture-filename ' + "'\"" + wallpaper + "\"'")
++ os.system(basecommand + 'picture-uri ' + "'\"" + 'file://' + wallpaper + "\"'")
+ os.system(basecommand + 'picture-options ' + self.wallpaper_style)
+ os.system(basecommand + 'draw-background true')
diff --git a/wallpapoz.spec b/wallpapoz.spec
index 3b92669..f128283 100644
--- a/wallpapoz.spec
+++ b/wallpapoz.spec
@@ -8,13 +8,13 @@
%define mainver 0.5
%undefine betaver
#%%define svnver svn92_trunk
-%define fedorarel 3
+%define fedorarel 4
%define rel %{?betaver:0.}%{fedorarel}%{?svnver:.%svnver}%{?betaver:.%betaver}
Name: wallpapoz
Version: %{mainver}
-Release: %{rel}%{?dist}.1
+Release: %{rel}%{?dist}
Summary: Gnome Multi Backgrounds and Wallpapers Configuration Tool
Group: User Interface/Desktops
@@ -167,6 +167,9 @@ popd
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
+* Sat Apr 16 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.5-4
+- Modify for gsettings key name change
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list