[Monodevelop-patches-list] r679 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Jan 27 11:50:27 EST 2004


Author: benm
Date: 2004-01-27 11:50:27 -0500 (Tue, 27 Jan 2004)
New Revision: 679

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
Log:
fixups

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs	2004-01-27 05:37:37 UTC (rev 678)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs	2004-01-27 16:50:27 UTC (rev 679)
@@ -12,8 +12,7 @@
 using Gtk;
 
 namespace MonoDevelop.SourceEditor.Gui {
-	public class SourceEditorDisplayBinding : IDisplayBinding
-	{
+	public class SourceEditorDisplayBinding : IDisplayBinding {
 		
 		public virtual bool CanCreateContentForFile (string fileName)
 		{
@@ -165,8 +164,7 @@
 		
 		public bool EnablePaste {
 			get {
-				// TODO: how do i know if there is data?
-				return true;
+				return clipboard.WaitIsTextAvailable ();
 			}
 		}
 		




More information about the Monodevelop-patches-list mailing list