[gnumeric] Only disable the formula bar when a chart sheet is selected. [#636031]



commit 5b4097d048e9250e7878068ba9a561c53c1d3a47
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Nov 29 07:59:44 2010 +0100

    Only disable the formula bar when a chart sheet is selected. [#636031]

 ChangeLog     |    5 +++++
 NEWS          |    3 +++
 src/wbc-gtk.c |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d02769e..7ce87aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-29  Jean Brefort  <jean brefort normalesup org>
+
+	* src/wbc-gtk.c (wbcg_update_action_sensitivity): only disable the formula
+	bar when a chart sheet is selected. [#636031]
+
 2010-11-28  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/commands.h (cmd_set_text): add autocorrect flag
diff --git a/NEWS b/NEWS
index 745aff7..ce882ab 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,9 @@ Gnumeric 1.10.13
 Andreas:
 	* Calculate residuals when using the regression tool. [#635064]
 	* Permit data entry by-passing autocorrection.
+	
+Jean
+	* Only disable the formula bar when a chart sheet is selected. [#636031]
 
 --------------------------------------------------------------------------
 Gnumeric 1.10.12
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 0e8695e..e0718b7 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -388,6 +388,7 @@ wbcg_update_action_sensitivity (WorkbookControl *wbc)
 		gtk_action_set_sensitive (action, TRUE);
 		action = gtk_action_group_get_action (wbcg->permanent_actions, "EditCut");
 		gtk_action_set_sensitive (action, TRUE);
+		gtk_widget_set_sensitive (GTK_WIDGET (wbcg->edit_line.entry), TRUE);
 		gtk_widget_set_sensitive (GTK_WIDGET (wbcg->selection_descriptor), TRUE);
 	}
 }



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