[gnumeric] GUI: Honour geometry also when starting with a blank sheet.



commit 8a929f902c4bd2b14bc32218541ccb014145d77b
Author: Morten Welinder <terra gnome org>
Date:   Fri May 29 09:05:33 2009 -0400

    GUI: Honour geometry also when starting with a blank sheet.
---
 ChangeLog              |    5 +++++
 NEWS                   |    1 +
 src/main-application.c |    2 +-
 3 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 03441f7..5e3b0ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-29  Morten Welinder  <terra gnome org>
+
+	* src/main-application.c (main): Honour geometry even when we are
+	not loading a file from the command line.
+
 2009-05-29  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/wbc-gtk-actions.c (toggle_font_attr): when we toggle sub or 
diff --git a/NEWS b/NEWS
index 4bf744d..45856c7 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Andreas:
 Morten:
 	* Add search-for-number.
 	* Fix format-as-currency action.
+	* Honour --geometry even when load loading a file.
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.8
diff --git a/src/main-application.c b/src/main-application.c
index bbf0f46..cb97246 100644
--- a/src/main-application.c
+++ b/src/main-application.c
@@ -428,7 +428,7 @@ main (int argc, char const **argv)
 			gint n_of_sheets = gnm_app_prefs->initial_sheet_number;
 			wbc_gtk_new (NULL,
 				workbook_new_with_sheets (n_of_sheets),
-				NULL, NULL);
+				NULL, geometry);
 		}
 
 		if (immediate_exit_flag) {



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