talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2212eef1fa41639671bb2d33858debf012084f50
parent 57c39713002c1efcbdef2ee4fe72287e2fd38e05
Author: Salvatore De Paolis <iwkse@claws-mail.org>
Date:   Thu, 28 Aug 2008 08:56:39 +0000

2008-08-28 [iwkse]	3.5.0cvs77

	* src/prefs_filtering.c
		Making the search more useful,
		jumping directly to the relative rule.

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/prefs_filtering.c | 5+++++
4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-28 [iwkse] 3.5.0cvs77 + + * src/prefs_filtering.c + Making the search more useful, + jumping directly to the relative rule. + 2008-08-27 [colin] 3.5.0cvs76 * src/main.c diff --git a/PATCHSETS b/PATCHSETS @@ -3488,3 +3488,4 @@ ( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/gtk/gtkcmctree.c; ) > 3.5.0cvs74.patchset ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/gtk/gtkcmctree.c; ) > 3.5.0cvs75.patchset ( cvs diff -u -r 1.115.2.202 -r 1.115.2.203 src/main.c; ) > 3.5.0cvs76.patchset +( cvs diff -u -r 1.59.2.71 -r 1.59.2.72 src/prefs_filtering.c; ) > 3.5.0cvs77.patchset diff --git a/configure.ac b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=5 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=76 +EXTRA_VERSION=77 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/prefs_filtering.c b/src/prefs_filtering.c @@ -972,6 +972,7 @@ static gboolean prefs_filtering_search_func_cb (GtkTreeModel *model, gint column gchar *store_string; gint key_len; gboolean retval; + GtkTreePath *path; gtk_tree_model_get (model, iter, column, &store_string, -1); @@ -982,6 +983,10 @@ static gboolean prefs_filtering_search_func_cb (GtkTreeModel *model, gint column retval = (strncmp (key, store_string, key_len) != 0); g_free(store_string); + debug_print("selecting row\n"); + path = gtk_tree_model_get_path(model, iter); + prefs_filtering_select_row(GTK_TREE_VIEW(filtering.cond_list_view), path); + gtk_tree_path_free(path); return retval; }