Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@novell.com>2010-05-04 17:08:57 +0400
committerMike Krüger <mkrueger@novell.com>2010-05-04 17:08:57 +0400
commitc408dc2ba3e34ed3188413546c2c6589965ed4a4 (patch)
treee78cb4745b4709b49df3189144a02845f58ad409 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands
parent0a98173cbfac8141d306d18c5619aed4444091aa (diff)
* MonoDevelop.Components.Commands/CommandManager.cs: Remove
unnecessary fix for the IntPtr problem. * MonoDevelop.Ide.Gui/MonoDevelopStatusBar.cs: Status bar status boxes are no longer overwriting each other & fixed little status bar leak. svn path=/trunk/monodevelop/; revision=156669
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
index fa0068211e..8d07ba9c77 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
@@ -1008,13 +1008,10 @@ namespace MonoDevelop.Components.Commands
if (!win.IsRealized)
win = null;
-
if (win != null) {
RegisterTopWindow (win);
Gtk.Widget widget = win;
while (widget is Gtk.Container) {
- if (!widget.IsRealized || !widget.Visible)
- return null;
Gtk.Widget child = ((Gtk.Container)widget).FocusChild;
if (child != null)
widget = child;