pick the right folder icon

This commit is contained in:
Matthias Clasen 2008-08-08 18:43:48 +00:00
parent ec5df488b5
commit b831105c88
2 changed files with 20 additions and 1 deletions

View File

@ -11,7 +11,7 @@
Summary: File Roller is a tool for viewing and creating archives Summary: File Roller is a tool for viewing and creating archives
Name: file-roller Name: file-roller
Version: 2.23.5 Version: 2.23.5
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Archiving Group: Applications/Archiving
URL: http://download.gnome.org/sources/file-roller/ URL: http://download.gnome.org/sources/file-roller/
@ -44,12 +44,15 @@ Requires: GConf2
# The context menu API changed in 2.2.0: # The context menu API changed in 2.2.0:
Conflicts: nautilus < 2.2.0 Conflicts: nautilus < 2.2.0
Patch0: folder-icon.patch
%description %description
File Roller is an application for creating and viewing archives files, File Roller is an application for creating and viewing archives files,
such as tar files. such as tar files.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .folder-icon
autoreconf autoreconf
@ -128,6 +131,9 @@ fi
%{_datadir}/icons/hicolor/scalable/apps/file-roller.svg %{_datadir}/icons/hicolor/scalable/apps/file-roller.svg
%changelog %changelog
* Fri Aug 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.5-2
- Fix the folder icons
* Mon Aug 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1 * Mon Aug 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1
- Update to 2.23.5 - Update to 2.23.5

13
folder-icon.patch Normal file
View File

@ -0,0 +1,13 @@
Index: src/file-utils.h
===================================================================
--- src/file-utils.h (revision 2411)
+++ src/file-utils.h (working copy)
@@ -28,7 +28,7 @@
#include <unistd.h>
#include <gio/gio.h>
-#define MIME_TYPE_DIRECTORY "gnome-fs-directory"
+#define MIME_TYPE_DIRECTORY "folder"
#define MIME_TYPE_ARCHIVE "application/x-archive"
#define get_home_relative_path(x) \