[gnumeric] Do not show an icon for the range entry in the search dialog. [#671494]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Do not show an icon for the range entry in the search dialog. [#671494]
- Date: Mon, 12 Mar 2012 06:05:21 +0000 (UTC)
commit 3ec94e2af64ab5803c4c4a9414d3c6b254745209
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sat Mar 10 09:49:44 2012 -0700
Do not show an icon for the range entry in the search dialog. [#671494]
2012-03-10 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-search.c (dialog_search): only show the expression entry
icon when we allow range selections
NEWS | 1 +
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-search.c | 4 ++++
3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index def1810..a1ff5d9 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Andreas:
* On ODF import set series to default to ignoring invalids for
interpolation. [#671508]
* Handle unusual styles created in xls import. [#671745]
+ * Do not show an icon for the range entry in the search dialog. [#671494]
Jean:
* Fixed crash with sheet object. [#671617]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index b3faab0..0e05e42 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-10 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dialog-search.c (dialog_search): only show the expression entry
+ icon when we allow range selections
+
2012-03-02 Morten Welinder <terra gnome org>
* Release 1.11.2
diff --git a/src/dialogs/dialog-search.c b/src/dialogs/dialog-search.c
index af87a17..1611d14 100644
--- a/src/dialogs/dialog-search.c
+++ b/src/dialogs/dialog-search.c
@@ -508,7 +508,11 @@ dialog_search (WBCGtk *wbcg)
gtk_notebook_page_num (dd->notebook,
go_gtk_builder_get_widget (gui, "matches_tab"));
+#ifdef USE_GURU
dd->rangetext = gnm_expr_entry_new (wbcg, TRUE);
+#else
+ dd->rangetext = gnm_expr_entry_new (wbcg, FALSE);
+#endif
gnm_expr_entry_set_flags (dd->rangetext, 0, GNM_EE_MASK);
table = GTK_TABLE (gtk_builder_get_object (gui, "page1-table"));
gtk_table_attach (table, GTK_WIDGET (dd->rangetext),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]