From 7daf6b3e17b866ab2ca38b2c64d7722b4498a09a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 4 Sep 2009 18:23:02 -0300 Subject: pcmanfm: fix automounting support Signed-off-by: Otavio Salvador --- recipes/pcmanfm/files/auto_mount.patch | 28 ++++++++++++++++++---------- recipes/pcmanfm/pcmanfm_0.5.bb | 1 + 2 files changed, 19 insertions(+), 10 deletions(-) (limited to 'recipes/pcmanfm') diff --git a/recipes/pcmanfm/files/auto_mount.patch b/recipes/pcmanfm/files/auto_mount.patch index b4a3125e3d..288dff4d47 100644 --- a/recipes/pcmanfm/files/auto_mount.patch +++ b/recipes/pcmanfm/files/auto_mount.patch @@ -1,10 +1,18 @@ ---- a/src/vfs/vfs-volume-hal.c 2008-12-16 17:39:21.000000000 -0200 -+++ b/src/vfs/vfs-volume-hal.c 2008-12-16 17:37:07.000000000 -0200 -@@ -1237,6 +1237,7 @@ - { - /* add the volume to the volume manager */ - vfs_volume_add (volume); -+ vfs_volume_mount (volume, NULL); - } - /* release the HAL drive */ - libhal_drive_free (hd); +commit 773ce494a6299e2fdc266e30bcb57305f13cc9d1 +Author: Luis Gustavo S. Barreto +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 ); + } + diff --git a/recipes/pcmanfm/pcmanfm_0.5.bb b/recipes/pcmanfm/pcmanfm_0.5.bb index 489e95ee72..483acba4b2 100644 --- a/recipes/pcmanfm/pcmanfm_0.5.bb +++ b/recipes/pcmanfm/pcmanfm_0.5.bb @@ -4,6 +4,7 @@ SECTION = "x11" PRIORITY = "optional" DEPENDS = "gtk+ hal gamin startup-notification" RRECOMMENDS = "pmount-hal" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \ file://desired_mount_point.patch;patch=1 \ -- cgit 1.2.3-korg