* src/gnome-search/search-double.c:

* src/gnome-search/search-int64.c:
	* src/gnome-search/search-numeric.c:
	  Change the default Search Operation for numerics from "less
	  than" to "equals" -- so by default you would search for an exact
	  value.  Fixes #106443


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.8@8385 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.8
Derek Atkins 23 years ago
parent 3dc8199062
commit 793ca0dd7f

@ -17,7 +17,14 @@
* src/report/standard-reports/balance-sheet.scm: use a 'from' date
to better compute the Net Income on the report. Fixes #113196
(although not its dependency, #101519; that requires new strings)
* src/gnome-search/search-double.c:
* src/gnome-search/search-int64.c:
* src/gnome-search/search-numeric.c:
Change the default Search Operation for numerics from "less
than" to "equals" -- so by default you would search for an exact
value. Fixes #106443
2003-05-23 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-options.c: don't let the user do anything

@ -110,7 +110,7 @@ static void
gnc_search_double_init (GNCSearchDouble *o)
{
o->priv = g_malloc0 (sizeof (*o->priv));
o->how = COMPARE_LT;
o->how = COMPARE_EQUAL;
}
static void
@ -204,7 +204,7 @@ static GtkWidget *
make_menu (GNCSearchCoreType *fe)
{
GNCSearchDouble *fi = (GNCSearchDouble *)fe;
GtkWidget *menu, *item, *first, *opmenu;
GtkWidget *menu, *item, *first = NULL, *opmenu;
int current = 0, index = 0;
menu = gtk_menu_new ();

@ -110,7 +110,7 @@ static void
gnc_search_int64_init (GNCSearchInt64 *o)
{
o->priv = g_malloc0 (sizeof (*o->priv));
o->how = COMPARE_LT;
o->how = COMPARE_EQUAL;
}
static void
@ -206,7 +206,7 @@ static GtkWidget *
make_menu (GNCSearchCoreType *fe)
{
GNCSearchInt64 *fi = (GNCSearchInt64 *)fe;
GtkWidget *menu, *item, *first, *opmenu;
GtkWidget *menu, *item, *first = NULL, *opmenu;
int current = 0, index = 0;
menu = gtk_menu_new ();

@ -112,7 +112,7 @@ gnc_search_numeric_init (GNCSearchNumeric *o)
{
o->priv = g_malloc0 (sizeof (*o->priv));
o->value = gnc_numeric_zero ();
o->how = COMPARE_LT;
o->how = COMPARE_EQUAL;
o->option = NUMERIC_MATCH_ANY;
}
@ -237,7 +237,7 @@ static GtkWidget *
make_how_menu (GNCSearchCoreType *fe)
{
GNCSearchNumeric *fi = (GNCSearchNumeric *)fe;
GtkWidget *menu, *item, *first, *opmenu;
GtkWidget *menu, *item, *first = NULL, *opmenu;
int current = 0, index = 0;
menu = gtk_menu_new ();

Loading…
Cancel
Save