From fe87441ae65b6553f1a39b92ca527e19931302db Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 6 Oct 2013 18:21:42 +0100 Subject: [PATCH] linux eventlog: Minimum size for the window --- SparkleShare/Linux/SparkleEventLog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/Linux/SparkleEventLog.cs b/SparkleShare/Linux/SparkleEventLog.cs index 6ad0bb7c..3040f278 100755 --- a/SparkleShare/Linux/SparkleEventLog.cs +++ b/SparkleShare/Linux/SparkleEventLog.cs @@ -44,8 +44,8 @@ namespace SparkleShare { public SparkleEventLog () : base ("") { - Gdk.Rectangle monitor_0_rect = Gdk.Screen.Default.GetMonitorGeometry(0); - SetDefaultSize (480, (int) (monitor_0_rect.Height * 0.8)); + Gdk.Rectangle monitor_0_rect = Gdk.Screen.Default.GetMonitorGeometry (0); + SetSizeRequest (480, (int) (monitor_0_rect.Height * 0.8)); int x = (int) (monitor_0_rect.Width * 0.61); int y = (int) (monitor_0_rect.Height * 0.5 - (HeightRequest * 0.5));