From: Alfons Hoogervorst Date: Fri, 11 Jul 2003 10:49:18 +0000 (+0000) Subject: * src/summaryview.c X-Git-Tag: rel_0_9_3~8 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=8d2155d7a7a698777aeec8fc914d764b1bbc95f4 * src/summaryview.c summary_searchbar_pressed() should return TRUE to signal that event was handled. when returning void, the return value passed to GTK is actually random, but maybe FALSE, in which case the event is handled by parent --- diff --git a/ChangeLog.claws b/ChangeLog.claws index ad6720770..f855fab31 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,11 @@ +2003-07-11 [alfons] 0.9.0claws97 + + * src/summaryview.c + summary_searchbar_pressed() should return TRUE to signal that + event was handled. when returning void, the return value passed + to GTK is actually random, but maybe FALSE, in which case the + event is handled by parent + 2003-07-10 [paul] 0.9.0claws96 * ac/missing/gettext.m4 diff --git a/configure.ac b/configure.ac index 6a25af6ad..37a265f92 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws96 +EXTRA_VERSION=claws97 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/summaryview.c b/src/summaryview.c index d3ac078f7..b6cda6b14 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -266,7 +266,7 @@ static void summary_button_released (GtkWidget *ctree, static void summary_key_pressed (GtkWidget *ctree, GdkEventKey *event, SummaryView *summaryview); -static void summary_searchbar_pressed (GtkWidget *ctree, +static gint summary_searchbar_pressed (GtkWidget *ctree, GdkEventKey *event, SummaryView *summaryview); static void summary_searchbar_focus_evt (GtkWidget *ctree, @@ -4527,11 +4527,12 @@ static void summary_key_pressed(GtkWidget *widget, GdkEventKey *event, } } -static void summary_searchbar_pressed(GtkWidget *widget, GdkEventKey *event, +static gint summary_searchbar_pressed(GtkWidget *widget, GdkEventKey *event, SummaryView *summaryview) { if (event != NULL && event->keyval == GDK_Return) summary_show(summaryview, summaryview->folder_item); + return TRUE; } static void summary_searchbar_focus_evt(GtkWidget *widget, GdkEventFocus *event,