[anjuta] anjuta: Don't set a minimum window size - just use the default
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] anjuta: Don't set a minimum window size - just use the default
- Date: Sun, 2 Feb 2014 19:40:57 +0000 (UTC)
commit 9fc301c6909ed0d296d0cc22c355715e979411b5
Author: Johannes Schmid <jhs gnome org>
Date: Sun Feb 2 20:38:36 2014 +0100
anjuta: Don't set a minimum window size - just use the default
src/anjuta-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/anjuta-window.c b/src/anjuta-window.c
index f99673a..b63374f 100644
--- a/src/anjuta-window.c
+++ b/src/anjuta-window.c
@@ -899,8 +899,8 @@ anjuta_window_set_geometry (AnjutaWindow *win, const gchar *geometry)
posy = 10;
width = gdk_screen_width () - 10;
height = gdk_screen_height () - 25;
- width = (width < 790)? width : 790;
- height = (height < 575)? width : 575;
+ width = (width < 790)? width : -1;
+ height = (height < 575)? width : -1;
if (gtk_widget_get_realized (GTK_WIDGET (win)) == FALSE)
{
gtk_window_set_default_size (GTK_WINDOW (win), width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]