~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/WorkbenchMemento.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
                
63
63
                public Rectangle Bounds {
64
64
                        get {
65
 
                                return properties.Get ("bounds", new Rectangle(50, 50, Gdk.Screen.Default.Width - 100, Gdk.Screen.Default.Height - 150));
 
65
                                var geo = Gdk.Screen.Default.GetMonitorGeometry (0);
 
66
                                return properties.Get ("bounds", new Rectangle(geo.X + 50, geo.Y + 50, geo.Width - 100, geo.Height - 150));
66
67
                        }
67
68
                        set {
68
69
                                properties.Set ("bounds", value);