totem r6222 - in branches/gnome-2-26: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r6222 - in branches/gnome-2-26: . src
- Date: Wed, 1 Apr 2009 18:59:48 +0000 (UTC)
Author: hadess
Date: Wed Apr 1 18:59:48 2009
New Revision: 6222
URL: http://svn.gnome.org/viewvc/totem?rev=6222&view=rev
Log:
2009-04-01 Bastien Nocera <hadess hadess net>
* src/totem-playlist.c (totem_playlist_file_changed):
Only remove files when the location is about to be umounted,
or is umounted (Closes: #574097)
Modified:
branches/gnome-2-26/ChangeLog
branches/gnome-2-26/src/totem-playlist.c
Modified: branches/gnome-2-26/src/totem-playlist.c
==============================================================================
--- branches/gnome-2-26/src/totem-playlist.c (original)
+++ branches/gnome-2-26/src/totem-playlist.c Wed Apr 1 18:59:48 2009
@@ -1544,7 +1544,8 @@
GFileMonitorEvent event_type,
TotemPlaylist *playlist)
{
- if (event_type == G_FILE_MONITOR_EVENT_DELETED) {
+ if (event_type == G_FILE_MONITOR_EVENT_PRE_UNMOUNT ||
+ event_type == G_FILE_MONITOR_EVENT_UNMOUNTED) {
totem_playlist_clear_with_compare (playlist,
(ClearComparisonFunc) totem_playlist_compare_with_monitor,
monitor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]