fix noneditable GtkEntries
authorColin Leroy <colin@colino.net>
Sat, 28 Feb 2004 10:10:15 +0000 (10:10 +0000)
committerColin Leroy <colin@colino.net>
Sat, 28 Feb 2004 10:10:15 +0000 (10:10 +0000)
ChangeLog-gtk2
src/prefs_filtering.c
src/prefs_filtering_action.c
src/prefs_matcher.c

index b70b351..bdc4d41 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-28 Colin Leroy <colin@colino.net>
+       * src/prefs_matcher.c
+         src/prefs_filtering.c
+         src/prefs_filtering_action.c
+               Fix non-editable GtkEntries
+
 2004-02-22 Thorsten Maerz <torte@netztorte.de>
        * src/prefs_themes.c
                utf8 conversion for theme info
index ebb3d7a..74cff99 100644 (file)
@@ -973,9 +973,11 @@ static gint prefs_filtering_deleted(GtkWidget *widget, GdkEventAny *event,
 static gboolean prefs_filtering_key_pressed(GtkWidget *widget, GdkEventKey *event,
                                     gpointer data)
 {
-       if (event && event->keyval == GDK_Escape)
+       if (event && event->keyval == GDK_Escape) {
                prefs_filtering_cancel();
-       return TRUE;                    
+               return TRUE;                    
+       }
+       return FALSE;
 }
 
 static void prefs_filtering_ok(void)
index e6cb8b3..95daf64 100644 (file)
@@ -1047,9 +1047,11 @@ static void prefs_filtering_action_select(GtkCList *clist,
 static gboolean prefs_filtering_action_key_pressed(GtkWidget *widget,
     GdkEventKey *event, gpointer data)
 {
-       if (event && event->keyval == GDK_Escape)
+       if (event && event->keyval == GDK_Escape) {
                prefs_filtering_action_cancel();
-       return TRUE;            
+               return TRUE;            
+       }
+       return FALSE;
 }
 
 /*!
index eb3bfad..e67b7ee 100644 (file)
@@ -1622,9 +1622,11 @@ static void prefs_matcher_criteria_select(GtkList *list,
 static gboolean prefs_matcher_key_pressed(GtkWidget *widget, GdkEventKey *event,
                                     gpointer data)
 {
-       if (event && event->keyval == GDK_Escape)
+       if (event && event->keyval == GDK_Escape) {
                prefs_matcher_cancel();
-       return TRUE;            
+               return TRUE;            
+       }
+       return FALSE;
 }
 
 /*!