[gnumeric] Make the windows shrink again. [#659246]



commit 3ca6f8ce363a4cfafec86d1f039ece10a040b908
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Sep 24 17:55:13 2011 +0200

    Make the windows shrink again. [#659246]

 ChangeLog     |    4 ++++
 NEWS          |    1 +
 src/wbc-gtk.c |    2 ++
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 50981bf..f1931a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-24  Jean Brefort  <jean brefort normalesup org>
+
+	* src/wbc-gtk.c (show_gui): make the windows shrink again. [#659246]
+
 2011-09-19  Morten Welinder  <terra gnome org>
 
 	* src/main-application.c (main): Fix handling of command context,
diff --git a/NEWS b/NEWS
index 2d520fd..cdccd91 100644
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,7 @@ Jean:
 	* Fixed criticals when saving a chart to ODF. [#658194]
 	* Fixed labels vertical alignment in preferences dialog. [#658639]
 	* Fixed autofilter user interface issues. [#657036]
+	* Make the windows shrink again. [#659246]
 
 Mikko Rasa:
         * Fix ODF import of certain percentage formats. [Debian #642135]
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index add8688..9a47b14 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -2505,6 +2505,8 @@ show_gui (WBCGtk *wbcg)
 	if (NULL != scg && wbcg_cur_sheet (wbcg))
 		scg_adjust_preferences (scg);
 
+	gtk_widget_set_size_request (GTK_WIDGET (wbcg->notebook_area),
+				     -1, -1);
 	return FALSE;
 }
 



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