[gnumeric] Make the graph window work again. [#660241]



commit 36a31128aff3b297848f3084fb016e53c7c453ca
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Sep 27 16:04:37 2011 +0200

    Make the graph window work again. [#660241]

 ChangeLog              |    5 +++++
 NEWS                   |    1 +
 src/gnm-graph-window.c |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4a9e2b7..fb636cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-27  Jean Brefort  <jean brefort normalesup org>
+
+	* src/gnm-graph-window.c (gnm_graph_window_set_graph): make the graph
+	visible. [#660241]
+
 2011-09-26  Morten Welinder  <terra gnome org>
 
 	* src/workbook-view.c (wb_view_auto_expr_recalc): Don't show
diff --git a/NEWS b/NEWS
index 10883c1..5915533 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,7 @@ Jean:
 	* Fixed labels vertical alignment in preferences dialog. [#658639]
 	* Fixed autofilter user interface issues. [#657036]
 	* Make the windows shrink again. [#659246]
+	* Make the graph window work again. [#660241]
 
 Mikko Rasa:
         * Fix ODF import of certain percentage formats. [Debian #642135]
diff --git a/src/gnm-graph-window.c b/src/gnm-graph-window.c
index 53f6904..70a3883 100644
--- a/src/gnm-graph-window.c
+++ b/src/gnm-graph-window.c
@@ -267,6 +267,7 @@ gnm_graph_window_set_graph (GnmGraphWindow *window,
 		g_object_unref (graph);
 		gtk_widget_show (window->graph);
 		gtk_container_add (GTK_CONTAINER (window->scrolled_window), window->graph);
+		g_object_set (G_OBJECT (window->graph), "expand", TRUE, NULL);
 
 		gtk_widget_get_preferred_size (window->toolbar, &toolbar_requisition, NULL);
 		gtk_window_set_default_size (GTK_WINDOW (window),



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