summaryrefslogtreecommitdiff
path: root/recipes/pcmanfm/files/auto_mount.patch
blob: 288dff4d47fb98cfc8dabedf5e495d8c3cfb1750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
commit 773ce494a6299e2fdc266e30bcb57305f13cc9d1
Author: Luis Gustavo S. Barreto <gustavo@ossystems.com.br>
Date:   Mon Sep 7 09:27:35 2009 -0300

    auto

diff --git a/src/vfs/vfs-volume-hal.c b/src/vfs/vfs-volume-hal.c
index 761ac33..ec5c64f 100644
--- a/src/vfs/vfs-volume-hal.c
+++ b/src/vfs/vfs-volume-hal.c
@@ -1177,6 +1177,7 @@ vfs_volume_update_volume_by_udi ( const gchar *udi)
 static void vfs_volume_add( VFSVolume* volume )
 {
     volumes = g_list_append( volumes, volume );
+    vfs_volume_mount( volume, NULL );
     call_callbacks( volume, VFS_VOLUME_ADDED );
 }