commit 4641514a85ef2898b6328c9ea1b0d2dfd0229536 Author: Daniele Forsi <dani...@forsi.it> Date: Thu Jul 12 11:32:01 2012 +0200
Fix setting default width of main window Only used when window Geometry couldn't be read from ~/.gtkpod/session/anjuta.session file. src/anjuta-app.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/src/anjuta-app.c b/src/anjuta-app.c index b78e345..9f4d6db 100644 --- a/src/anjuta-app.c +++ b/src/anjuta-app.c @@ -650,7 +650,7 @@ void anjuta_app_set_geometry(AnjutaApp *app, const gchar *geometry) { width = gdk_screen_width() - 10; height = gdk_screen_height() - 25; width = (width < 790) ? width : 790; - height = (height < 575) ? width : 575; + height = (height < 575) ? height : 575; if (gtk_widget_get_realized (GTK_WIDGET (app)) == FALSE) { gtk_window_set_default_size(GTK_WINDOW (app), width, height); gtk_window_move(GTK_WINDOW (app), posx, posy); ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2