Author: lluis
Date: 2007-12-14 07:02:01 -0500 (Fri, 14 Dec 2007)
New Revision: 91277

Modified:
   trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
   
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
Log:
* MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Don't
  process keys if the completion window is hidden. Fixes bug #348696.

Modified: trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog  
2007-12-14 12:01:06 UTC (rev 91276)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog  
2007-12-14 12:02:01 UTC (rev 91277)
@@ -1,5 +1,10 @@
 2007-12-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Don't 
process
+         keys if the completion window is hidden. Fixes bug #348696.
+
+2007-12-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * MonoDevelop.Projects.Gui.mdp: Updated project files. The order of 
extended
          properties won't change anymore.
 

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
        2007-12-14 12:01:06 UTC (rev 91276)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
        2007-12-14 12:02:01 UTC (rev 91277)
@@ -58,6 +58,7 @@
                
                public static bool ProcessKeyEvent (Gdk.Key key, 
Gdk.ModifierType modifier)
                {
+                       if (!wnd.Visible) return false;
                        return wnd.ProcessKeyEvent (key, modifier);
                }
                

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to