* 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 ad67207..f855fab 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 6a25af6..37a265f 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 d3ac078..b6cda6b 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,