diff --git a/thunar-volman-0.3.80-parole.patch b/thunar-volman-0.3.80-parole.patch index ff3fca1..4eb137b 100644 --- a/thunar-volman-0.3.80-parole.patch +++ b/thunar-volman-0.3.80-parole.patch @@ -6,7 +6,7 @@ diff -Nur thunar-volman-0.3.80.orig/thunar-volman/tvm-preferences.c thunar-volma "autoplay-audio-cd-command", "autoplay-audio-cd-command", - "totem %d", -+ "parole %d", ++ "parole --device %d", EXO_PARAM_READWRITE)); /** @@ -15,7 +15,7 @@ diff -Nur thunar-volman-0.3.80.orig/thunar-volman/tvm-preferences.c thunar-volma "autoplay-video-cd-command", "autoplay-video-cd-command", - "totem %d", -+ "parole %d", ++ "parole --device %d", EXO_PARAM_READWRITE)); /** diff --git a/thunar-volman.spec b/thunar-volman.spec index 703b02a..a8c7b3d 100644 --- a/thunar-volman.spec +++ b/thunar-volman.spec @@ -2,7 +2,7 @@ Name: thunar-volman Version: 0.3.80 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Automatic management of removable drives and media for the Thunar file manager Group: User Interface/Desktops @@ -50,12 +50,18 @@ desktop-file-install --vendor fedora \ %post -touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + %postun -touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ "$1" -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %clean @@ -73,8 +79,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Oct 03 2010 Christoph Wickert - 0.3.80-4 +- Fix the parole patch (#639484) +- Update gtk-icon-cache scriptlets + * Sat Oct 02 2010 Kevin Fenzi - 0.3.80-3 -- Add patch to default to parole for video/audio. bug 639484 +- Add patch to default to parole for video/audio (#639484) * Sun Jul 26 2009 Fedora Release Engineering - 0.3.80-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild