[prev in list] [next in list] [prev in thread] [next in thread] 

List:       klik-devel
Subject:    [klik-devel] [klikclient commit] r1430 -
From:       codesite-noreply () google ! com
Date:       2008-03-24 10:25:22
Message-ID: 001485f91bd204492c40ddb6dbe10448 () google ! com
[Download RAW message or body]

Author: KillerKiwi2005
Date: Mon Mar 24 03:25:01 2008
New Revision: 1430

Modified:
   trunk/client/trunk/klikclient/lib/klik/fuse.py

Log:
Move mount point back to /tmp to avoid showing windows in nautilus 2.22

Modified: trunk/client/trunk/klikclient/lib/klik/fuse.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/fuse.py	(original)
+++ trunk/client/trunk/klikclient/lib/klik/fuse.py	Mon Mar 24 03:25:01 2008
@@ -44,7 +44,8 @@
 	def __get_mount_point(self, cmg, reusable_mount_point):
 		# lock mountpoint by cmg path, this will allow us to reuse mount
 		if reusable_mount_point:
-			path = os.path.expanduser(os.path.join( 
self.klik.settings.config_path, "execute", cmg.get_unique_id()))
+			# path needs to be under tmp, else nautilus shows a window
+			path = os.path.expanduser(os.path.join( 
self.klik.settings.temp_directory_path,  "execute", os.environ["USER"], cmg.get_unique_id()))
 			if not os.path.exists(path):
 				os.makedirs(path)
 			return os.path.join(path, "mnt")
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic