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-04-27 20:42:23 +0400
committerMike Krüger <mkrueger@novell.com>2010-04-27 20:42:23 +0400
commit69c26fe7c0624734c90c404a527e074aeb3eddf9 (patch)
treeb3aca949f0618121b65ef646241e50e543d788d4 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog
parent4d06ef70c60682dbc4db75f6f804fefbc45e217c (diff)
* gtk-gui/gui.stetic:
* MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs: * gtk-gui/MonoDevelop.Ide.NavigateToDialog.NavigateToDialog.cs: made the default size of the navigate to dialog bigger. svn path=/trunk/monodevelop/; revision=156192
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs
index 0463c207b9..6245c46240 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.NavigateToDialog/NavigateToDialog.cs
@@ -157,12 +157,12 @@ namespace MonoDevelop.Ide.NavigateToDialog
this.matchEntry.Entry.GrabFocus ();
- int width = PropertyService.Get ("NavigateToDialog.Width", 400);
- int height = PropertyService.Get ("NavigateToDialog.Height", 300);
- this.Resize (width, height);
+ DefaultWidth = PropertyService.Get ("NavigateToDialog.DialogWidth", 620);
+ DefaultHeight = PropertyService.Get ("NavigateToDialog.DialogHeight", 440);
+ Show ();
this.SizeAllocated += delegate(object o, SizeAllocatedArgs args) {
- PropertyService.Set ("NavigateToDialog.Width", args.Allocation.Width);
- PropertyService.Set ("NavigateToDialog.Height", args.Allocation.Height);
+ PropertyService.Set ("NavigateToDialog.DialogWidth", args.Allocation.Width);
+ PropertyService.Set ("NavigateToDialog.DialogHeight", args.Allocation.Height);
};
}