[mono/monodevelop] 26c94b2b: [Debugger] Set DebugValueWindow's TypeHint to Tooltip to fix focus issue.

"Cody Russell ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141d92ae592-c5448ce7-f380-490b-851f-04bf4fc31b7c-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/dbd1c0e5959a...26c94b2b3d68

   Commit: 26c94b2b3d68f73a7476447d81346acee687ff2e
   Author: Cody Russell <[email protected]> (bratsche)
     Date: 2013-10-21 03:58:12 GMT
      URL: https://github.com/mono/monodevelop/commit/26c94b2b3d68f73a7476447d81346acee687ff2e

[Debugger] Set DebugValueWindow's TypeHint to Tooltip to fix focus issue.

This should cause this window to act like a tooltip window so it doesn't steal
focus away from the main window.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=14526

Changed paths:
  M main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/DebugValueWindow.cs

Modified: main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/DebugValueWindow.cs
===================================================================
@@ -70,10 +70,10 @@ public class DebugValueWindow : PopoverWindow
 		ScrolledWindow sw;
 //		PinWindow pinWindow;
 //		TreeIter currentPinIter;
-		
+
 		public DebugValueWindow (Mono.TextEditor.TextEditor editor, int offset, StackFrame frame, ObjectValue value, PinnedWatch watch): base (Gtk.WindowType.Toplevel)
 		{
-			this.TypeHint = WindowTypeHint.PopupMenu;
+			this.TypeHint = WindowTypeHint.Tooltip;
 			this.AllowShrink = false;
 			this.AllowGrow = false;
 			this.Decorated = false;


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.