tomboy r2008 - in branches/gnome-2-22: . Tomboy/Synchronization



Author: sharm
Date: Sat May 17 14:34:03 2008
New Revision: 2008
URL: http://svn.gnome.org/viewvc/tomboy?rev=2008&view=rev

Log:
* Tomboy/Synchronization/FuseSyncServiceAddin.cs: Support newer `mount`
  output like " type fuse.sshfs" found in Ubuntu Hardy.  Should fix
  bug #522424.  Thanks to Olivier Crete and Peter Thomas for catching
  this.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/Tomboy/Synchronization/FuseSyncServiceAddin.cs

Modified: branches/gnome-2-22/Tomboy/Synchronization/FuseSyncServiceAddin.cs
==============================================================================
--- branches/gnome-2-22/Tomboy/Synchronization/FuseSyncServiceAddin.cs	(original)
+++ branches/gnome-2-22/Tomboy/Synchronization/FuseSyncServiceAddin.cs	Sat May 17 14:34:03 2008
@@ -356,7 +356,7 @@
 
 				// TODO: Review this methodology...is it really the exe name, for example?
 				foreach (string outputLine in outputLines)
-				if (outputLine.StartsWith (FuseMountExeName) &&
+				if ((outputLine.StartsWith (FuseMountExeName) || outputLine.Contains (" type fuse." + FuseMountExeName)) &&
 				                outputLine.IndexOf (string.Format ("on {0} ", mountPath)) > -1)
 					return true;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]