[gnumeric] diasable function tooltips where they might be abondoned.



commit 73c80d79b7ea2a83dcb1c6b2ed460744b2f1ea0c
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Thu Jun 17 02:25:14 2010 -0600

    diasable function tooltips where they might be abondoned.
    
    2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* dialog-analysis-tools.c (dialog_tool_init): disable tooltips
    	  on input expression entries
    
    2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* gnumeric-expr-entry.c (gee_check_tooltip): don't create tooltip
    	  in what looks like a range selector

 src/dialogs/ChangeLog               |    5 +++++
 src/dialogs/dialog-analysis-tools.c |    2 ++
 src/widgets/ChangeLog               |    5 +++++
 src/widgets/gnumeric-expr-entry.c   |    3 ++-
 4 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 279e91d..a08765d 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,5 +1,10 @@
 2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* dialog-analysis-tools.c (dialog_tool_init): disable tooltips
+	  on input expression entries
+
+2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* dialog-formula-guru.c (dialog_formula_guru_adjust_children): drop
 	  the last argument of gnm_func_convert_markup_to_pango
 	(cb_dialog_formula_guru_destroy): unref tooltip widgets
diff --git a/src/dialogs/dialog-analysis-tools.c b/src/dialogs/dialog-analysis-tools.c
index 243e25d..73e34b6 100644
--- a/src/dialogs/dialog-analysis-tools.c
+++ b/src/dialogs/dialog-analysis-tools.c
@@ -417,6 +417,7 @@ dialog_tool_init (GenericToolState *state,
 
 		table = GTK_TABLE (gtk_widget_get_parent (widget));
 		state->input_entry = gnm_expr_entry_new (state->wbcg, TRUE);
+		gnm_expr_entry_disable_tips (state->input_entry);
 		gnm_expr_entry_set_flags (state->input_entry, flags | GNM_EE_FORCE_ABS_REF,
 					  GNM_EE_MASK);
 
@@ -452,6 +453,7 @@ dialog_tool_init (GenericToolState *state,
 		GtkTableChild *tchild;
 
 		state->input_entry_2 = gnm_expr_entry_new (state->wbcg, TRUE);
+		gnm_expr_entry_disable_tips (state->input_entry_2);
 		gnm_expr_entry_set_flags (state->input_entry_2,
 					  GNM_EE_SINGLE_RANGE | GNM_EE_FORCE_ABS_REF, GNM_EE_MASK);
 		table = GTK_TABLE (gtk_widget_get_parent (widget));
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index 5fc83d3..805bdcc 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,6 +1,11 @@
 2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* gnumeric-expr-entry.c (gee_check_tooltip): don't create tooltip
+	  in what looks like a range selector
+	
+2010-06-17  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* gnumeric-expr-entry.c (gee_check_tooltip): don't create tooltip
 	  in range selectors or cell renderers yet.
 	(gee_create_tooltip): drop argument from 
 	  gnm_func_convert_markup_to_pango
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index 2548da0..7b0fba7 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -747,7 +747,8 @@ gee_check_tooltip (GnmExprEntry *gee)
 	gint  para = 0, stuff = 0;
 
 	if (!gee->tooltip.enabled || gee->is_cell_renderer || 
-	    (gee->flags & GNM_EE_SINGLE_RANGE))
+	    (gee->flags & GNM_EE_SINGLE_RANGE) ||
+	    (gee->flags & GNM_EE_FORCE_ABS_REF))
 		return;
 
 	end = gtk_editable_get_position (editable);



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