Author: lluis
Date: 2007-10-16 08:19:34 -0400 (Tue, 16 Oct 2007)
New Revision: 87579
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs
Log:
* MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs: If the current
selection can't be deleted, just ignore the delete command, so the
default handler will be executed. Fixes bug #325440.
Modified: trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-10-16
11:59:17 UTC (rev 87578)
+++ trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-10-16
12:19:34 UTC (rev 87579)
@@ -1,5 +1,11 @@
2007-10-16 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+ * MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs: If the current
selection
+ can't be deleted, just ignore the delete command, so the default
handler
+ will be executed. Fixes bug #325440.
+
+2007-10-16 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
* lib/libstetic.mdp: Fix required gtk# version.
2007-10-12 Mike Krüger <[EMAIL PROTECTED]>
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs
===================================================================
---
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs
2007-10-16 11:59:17 UTC (rev 87578)
+++
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs
2007-10-16 12:19:34 UTC (rev 87579)
@@ -489,7 +489,7 @@
[CommandUpdateHandler (EditCommands.Delete)]
protected void OnUpdateDelete (CommandInfo cinfo)
{
- cinfo.Enabled = designer.CanDeleteSelection;
+ cinfo.Bypass = !designer.CanDeleteSelection;
}
[CommandHandler (EditCommands.Copy)]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches