[xfce4-places-plugin] - Fix missing icons (#650504)

Christoph Wickert cwickert at fedoraproject.org
Sun Nov 7 11:56:33 UTC 2010


commit af68ee916c7b71605214abf44897a027934f1b45
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Nov 7 12:56:28 2010 +0100

    - Fix missing icons (#650504)

 ...patch => xfce4-places-plugin-1.2.0-dsofix.patch |    0
 xfce4-places-plugin-1.2.0-icon-naming.patch        |   23 ++++++++++++++++++++
 xfce4-places-plugin.spec                           |    9 ++++++-
 3 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/xfce4-places-plugin-1.2.0-dsofix-patch b/xfce4-places-plugin-1.2.0-dsofix.patch
similarity index 100%
rename from xfce4-places-plugin-1.2.0-dsofix-patch
rename to xfce4-places-plugin-1.2.0-dsofix.patch
diff --git a/xfce4-places-plugin-1.2.0-icon-naming.patch b/xfce4-places-plugin-1.2.0-icon-naming.patch
new file mode 100644
index 0000000..55ac81b
--- /dev/null
+++ b/xfce4-places-plugin-1.2.0-icon-naming.patch
@@ -0,0 +1,23 @@
+diff -dur xfce4-places-plugin-1.2.0.orig/panel-plugin/model_system.c xfce4-places-plugin-1.2.0/panel-plugin/model_system.c
+--- xfce4-places-plugin-1.2.0.orig/panel-plugin/model_system.c	2009-05-24 07:23:15.000000000 +0200
++++ xfce4-places-plugin-1.2.0/panel-plugin/model_system.c	2010-11-07 12:31:03.664947660 +0100
+@@ -201,7 +201,7 @@
+     /* File System (/) */
+     bookmark                = places_bookmark_create(_("File System"));
+     bookmark->uri           = "/";
+-    bookmark->icon          = "gtk-harddisk";
++    bookmark->icon          = "drive-harddisk";
+ 
+     terminal                 = places_create_open_terminal_action(bookmark);
+     bookmark->actions        = g_list_prepend(bookmark->actions, terminal);
+diff -dur xfce4-places-plugin-1.2.0.orig/panel-plugin/places.desktop.in.in xfce4-places-plugin-1.2.0/panel-plugin/places.desktop.in.in
+--- xfce4-places-plugin-1.2.0.orig/panel-plugin/places.desktop.in.in	2008-01-09 02:20:42.000000000 +0100
++++ xfce4-places-plugin-1.2.0/panel-plugin/places.desktop.in.in	2010-11-07 00:52:37.502131742 +0100
+@@ -3,6 +3,6 @@
+ Encoding=UTF-8
+ _Name=Places
+ _Comment=Access folders, documents, and removable media
+-Icon=file-manager
++Icon=system-file-manager
+ X-XFCE-Exec=@libexecdir@/xfce4/panel-plugins/xfce4-places-plugin
+ 
diff --git a/xfce4-places-plugin.spec b/xfce4-places-plugin.spec
index c6cb0cf..bad0a39 100644
--- a/xfce4-places-plugin.spec
+++ b/xfce4-places-plugin.spec
@@ -1,13 +1,14 @@
 Name:		xfce4-places-plugin
 Version:	1.2.0
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Places menu for the Xfce panel
 
 Group:		User Interface/Desktops
 License:	GPLv2+
 URL:		http://goodies.xfce.org/projects/panel-plugins/%{name}
 Source0:	http://archive.xfce.org/src/panel-plugins/%{name}/1.2/%{name}-%{version}.tar.bz2
-Patch0:		xfce4-places-plugin-1.2.0-dsofix-patch
+Patch0:		xfce4-places-plugin-1.2.0-dsofix.patch
+Patch1:         xfce4-places-plugin-1.2.0-icon-naming.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	xfce4-panel-devel >= 4.3.99.1, libxfcegui4-devel >= 4.3.99.1
@@ -28,6 +29,7 @@ a menu with 4 sections:
 %prep
 %setup -q
 %patch0 -p1 -b .dsofix
+%patch1 -p1 -b .icon-naming
 
 
 %build
@@ -54,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Nov 06 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.2.0-3
+- Fix missing icons (#650504)
+
 * Tue Feb 16 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.2.0-2
 - Add patch to fix DSO linking (#564693)
 


More information about the scm-commits mailing list