Author: jannis
Date: 2008-11-23 18:59:06 +0000 (Sun, 23 Nov 2008)
New Revision: 28895
Modified:
thunar/trunk/ChangeLog
thunar/trunk/thunar-vfs/thunar-vfs-volume-hal.c
Log:
* 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.
Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog 2008-11-23 17:47:49 UTC (rev 28894)
+++ thunar/trunk/ChangeLog 2008-11-23 18:59:06 UTC (rev 28895)
@@ -1,5 +1,11 @@
2008-11-23 Jannis Pohlmann <[EMAIL PROTECTED]>
+ * 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.
+
+2008-11-23 Jannis Pohlmann <[EMAIL PROTECTED]>
+
* thunar/thunar-shortcuts-model.c, thunar/thunar-window.c: Add ifdefs
around includes to fix make distcheck. Spotted by Nick.
Modified: thunar/trunk/thunar-vfs/thunar-vfs-volume-hal.c
===================================================================
--- thunar/trunk/thunar-vfs/thunar-vfs-volume-hal.c 2008-11-23 17:47:49 UTC
(rev 28894)
+++ thunar/trunk/thunar-vfs/thunar-vfs-volume-hal.c 2008-11-23 18:59:06 UTC
(rev 28895)
@@ -208,11 +208,7 @@
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;
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits