]> git.pld-linux.org Git - packages/gnome-vfs2.git/commitdiff
- remove it!
authorpaladine <paladine@pld-linux.org>
Wed, 24 Aug 2005 15:02:02 +0000 (15:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-vfs2-handle-drives-without-media-detection.patch -> 1.2

gnome-vfs2-handle-drives-without-media-detection.patch [deleted file]

diff --git a/gnome-vfs2-handle-drives-without-media-detection.patch b/gnome-vfs2-handle-drives-without-media-detection.patch
deleted file mode 100644 (file)
index 6486369..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: libgnomevfs/gnome-vfs-hal-mounts.c
-===================================================================
-RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c,v
-retrieving revision 1.15
-diff -u -p -r1.15 gnome-vfs-hal-mounts.c
---- libgnomevfs/gnome-vfs-hal-mounts.c 23 Jul 2005 22:28:15 -0000      1.15
-+++ libgnomevfs/gnome-vfs-hal-mounts.c 10 Aug 2005 20:50:50 -0000
-@@ -1475,6 +1475,24 @@ _gnome_vfs_hal_mounts_modify_volume (Gno
-        */
-       hal_drive = libhal_drive_from_device_file (hal_ctx, volume->priv->device_path);
-       if (hal_drive != NULL) {
-+
-+              /* handle drives that HAL can't poll and the user can still mount */
-+              if (libhal_device_get_property_bool (hal_ctx, 
-+                                                   libhal_drive_get_udi (hal_drive),
-+                                                   "storage.media_check_enabled",
-+                                                   NULL) == FALSE) {
-+                      GnomeVFSDrive *drive;
-+
-+                      if ((drive = _gnome_vfs_volume_monitor_find_drive_by_hal_udi (
-+                                   GNOME_VFS_VOLUME_MONITOR (volume_monitor_daemon),
-+                                   libhal_drive_get_udi (hal_drive))) != NULL) {
-+                              volume->priv->drive = drive;
-+                              _gnome_vfs_drive_add_mounted_volume (drive, volume);
-+                              
-+                              goto out;
-+                      }
-+              }
-+
-               /* ok, this device file is in HAL and thus managed by this backend */
-               gnome_vfs_volume_unref (volume);
-               result = NULL;
This page took 0.051101 seconds and 4 git commands to generate.