From 5e25e9b08421932ed04225141122cceb54976dc8 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Tue, 29 Jul 2008 19:42:00 +0000 Subject: [PATCH] - F-10+: Fix icon name due to gnome-icon-theme 2.23.x change --- gnome-commander.spec | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnome-commander.spec b/gnome-commander.spec index 8a7fc04..3726a83 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -10,7 +10,7 @@ %define use_autotool 0 %define if_pre 0 -%define main_release 1 +%define main_release 2 #%%define extratag svn1901_trunk %if 0%{?if_pre} > 0 @@ -103,6 +103,22 @@ sh autogen.sh -e 's|\$PY_EXEC_PREFIX/lib|%{_libdir}|' \ configure +%if 0%{?fedora} >= 10 +function replace_icon(){ + find . -name \*.cc | xargs grep -l $1 | \ + xargs %{__sed} -i -e "s|\"$1\"|\"$2\"|" +} + +replace_icon gnome-fs-directory gtk-directory +replace_icon gnome-fs-ftp folder-remote +replace_icon gnome-fs-home user-home +replace_icon gnome-fs-network gtk-network +replace_icon gnome-fs-smb network-workgroup +replace_icon gnome-fs-ssh folder-remote +replace_icon gnome-fs-web folder-remote + +%endif + %build %configure \ --disable-scrollkeeper \ @@ -161,6 +177,9 @@ scrollkeeper-update -q || : %{_datadir}/pixmaps/%{name}/ %changelog +* Wed Jul 30 2008 Mamoru Tasaka - 1.2.7-2 +- F-10+: Fix icon name due to gnome-icon-theme 2.23.x change + * Wed Jul 30 2008 Mamoru Tasaka - 1.2.7-1 - 1.2.7