Skip to content
Snippets Groups Projects
Commit 4bc04b4b authored by Benedikt Meurer's avatar Benedikt Meurer
Browse files

2006-02-13 Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-volume-hal.c: Properly update volume state
	  after eject and unmount.
	* README: List optional HAL dependency.




(Old svn revision: 19861)
parent 4d05c3bd
No related branches found
No related tags found
No related merge requests found
2006-02-13 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-volume-hal.c: Properly update volume state
after eject and unmount.
* README: List optional HAL dependency.
2006-02-13 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-dbus-service.c: Print a warning to stderr, instead of
......
......@@ -21,6 +21,7 @@ Thunar depends on the following packages:
Thunar can optionally use the following packages:
- D-BUS 0.34 or above (strongly suggested)
- HAL 0.5.0 or above (esp. the libhal-storage devel package)
- gamin 0.1.0 or above
- gconf 2.4 or above
- libjpeg 6 or above
......
......@@ -226,6 +226,16 @@ thunar_vfs_volume_hal_eject (ThunarVfsVolume *volume,
g_free (standard_error);
}
/* check if we were successfull */
if (G_LIKELY (result))
{
/* reset the status */
volume_hal->status &= ~(THUNAR_VFS_VOLUME_STATUS_MOUNTED | THUNAR_VFS_VOLUME_STATUS_PRESENT);
/* emit "changed" on the volume */
thunar_vfs_volume_changed (THUNAR_VFS_VOLUME (volume_hal));
}
/* cleanup */
g_free (command_line);
......@@ -399,6 +409,16 @@ thunar_vfs_volume_hal_unmount (ThunarVfsVolume *volume,
g_free (standard_error);
}
/* check if we were successfull */
if (G_LIKELY (result))
{
/* reset the status */
volume_hal->status &= ~THUNAR_VFS_VOLUME_STATUS_MOUNTED;
/* emit "changed" on the volume */
thunar_vfs_volume_changed (THUNAR_VFS_VOLUME (volume_hal));
}
/* cleanup */
g_free (command_line);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment