[gnoduino] fix initial console height



commit c14f35427f2c601cbec50629f96b1f5e2fe1d77b
Author: Pascal de Bruijn <pmjdebruijn pcode nl>
Date:   Sun Feb 3 00:34:04 2013 +0100

    fix initial console height

 src/ui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui.py b/src/ui.py
index 7afc48d..01e45b2 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -936,7 +936,7 @@ def run():
 		(scon,sctw) = createScon()
 		vbox.pack2(con, shrink=False, resize=False)
 		vbox.connect("notify::position", vbox_move_handle)
-		cpos = int(p.getSafeValue("console.height", -1))
+		cpos = int(p.getSafeValue("console.height", mh - 120))
 		vbox.set_position(cpos)
 
 		mainwin.set_focus(sv)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]