* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 11 Jul 2003 10:49:18 +0000 (10:49 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 11 Jul 2003 10:49:18 +0000 (10:49 +0000)
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

ChangeLog.claws
configure.ac
src/summaryview.c

index ad67207706db27a8e944eeb6e7986880783d547c..f855fab3111173c3f4aef384f378eac6d8ad392a 100644 (file)
@@ -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
index 6a25af6add95013ec8a43bc4d038843994894a97..37a265f92589391b56da97b56195b8a207a3af2a 100644 (file)
@@ -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
index d3ac078f717d492047253006ed9d6893146f85e0..b6cda6b14a72e4f0521446d6b664943b2c525428 100644 (file)
@@ -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,