[Pkg-xfce-commits] r2553 - in desktop/branches/svn-snapshots/thunar/debian: . patches
corsac at alioth.debian.org
corsac at alioth.debian.org
Mon Nov 24 21:28:15 UTC 2008
Author: corsac
Date: 2008-11-24 21:28:15 +0000 (Mon, 24 Nov 2008)
New Revision: 2553
Added:
desktop/branches/svn-snapshots/thunar/debian/patches/03_eject-handling.patch
Modified:
desktop/branches/svn-snapshots/thunar/debian/changelog
Log:
- 03_eject-handling added, display eject if and only if
is_ejectable=true. (Xfce r28895, #3978) closes: #500561
*
Modified: desktop/branches/svn-snapshots/thunar/debian/changelog
===================================================================
--- desktop/branches/svn-snapshots/thunar/debian/changelog 2008-11-23 17:08:54 UTC (rev 2552)
+++ desktop/branches/svn-snapshots/thunar/debian/changelog 2008-11-24 21:28:15 UTC (rev 2553)
@@ -28,9 +28,14 @@
* debian/patches:
- 02_fix-fam-closing-treeview added, fix file monitoring in treeview.
closes: #478566
+ - 03_eject-handling added, display eject if and only if
+ is_ejectable=true. (Xfce r28895, #3978) closes: #500561
- -- Yves-Alexis Perez <corsac at debian.org> Fri, 14 Nov 2008 00:09:34 +0100
+ [ Yves-Alexis Perez ]
+ *
+ -- Yves-Alexis Perez <corsac at debian.org> Mon, 24 Nov 2008 19:52:51 +0100
+
thunar (0.9.0-10) unstable; urgency=low
* -dev package doesn't need to depend on exo-utils, thunar does.
Added: desktop/branches/svn-snapshots/thunar/debian/patches/03_eject-handling.patch
===================================================================
--- desktop/branches/svn-snapshots/thunar/debian/patches/03_eject-handling.patch (rev 0)
+++ desktop/branches/svn-snapshots/thunar/debian/patches/03_eject-handling.patch 2008-11-24 21:28:15 UTC (rev 2553)
@@ -0,0 +1,27 @@
+commit 1d29095a26262c76aeeb2a2a54832bddba38eef5
+Author: jannis <jannis at a0aa69c2-05f4-0310-b83c-d5d913b14636>
+Date: Sun Nov 23 18:59:06 2008 +0000
+
+ * thunar-vfs/thunar-vfs-volume-hal.c
+ (thunar_vfs_volume_hal_is_ejectable): Return TRUE if and only if
+ requires_eject is TRUE. This should fix bug #3978.
+
+ git-svn-id: http://svn.xfce.org/svn/xfce/thunar/trunk@28895 a0aa69c2-05f4-0310-b83c-d5d913b14636
+
+diff --git a/thunar-vfs/thunar-vfs-volume-hal.c b/thunar-vfs/thunar-vfs-volume-hal.c
+index 70b72c4..44202b7 100644
+--- a/thunar-vfs/thunar-vfs-volume-hal.c
++++ b/thunar-vfs/thunar-vfs-volume-hal.c
+@@ -208,11 +208,7 @@ static gboolean
+ thunar_vfs_volume_hal_is_ejectable (ThunarVfsVolume *volume)
+ {
+ /* check if HAL drive requires eject */
+- if (THUNAR_VFS_VOLUME_HAL (volume)->requires_eject)
+- return TRUE;
+-
+- /* otherwise we can only eject removable media, that are present (surprise, surprise) */
+- return (thunar_vfs_volume_is_present (volume) && thunar_vfs_volume_is_removable (volume));
++ return THUNAR_VFS_VOLUME_HAL (volume)->requires_eject;
+ }
+
+
More information about the Pkg-xfce-commits
mailing list