2005-11-18 [wwp] 1.9.100cvs21
authorTristan Chabredier <wwp@claws-mail.org>
Fri, 18 Nov 2005 13:35:09 +0000 (13:35 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Fri, 18 Nov 2005 13:35:09 +0000 (13:35 +0000)
* src/gtk/quicksearch.c
don't update extended quicksearch buttons twice

ChangeLog
PATCHSETS
configure.ac
src/gtk/quicksearch.c

index a10b4627b1bc610e80032b048d1cf1fbbccd2b3b..a0ebebf53b66d9abb08ab10b7a47147f8bc090f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-18 [wwp]       1.9.100cvs21
+
+       * src/gtk/quicksearch.c
+               don't update extended quicksearch buttons twice
+
 2005-11-18 [paul]      1.9.100cvs20
 
        * src/textview.c
index e93ce5654f794723540099b6ae520aa4fcd6dda1..90767b0c2ba4404017cd60803144dcf346208695 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.148 -r 1.395.2.149 src/summaryview.c;  ) > 1.9.100cvs18.patchset
 ( cvs diff -u -r 1.382.2.193 -r 1.382.2.194 src/compose.c;  cvs diff -u -r 1.96.2.84 -r 1.96.2.85 src/textview.c;  ) > 1.9.100cvs19.patchset
 ( cvs diff -u -r 1.96.2.85 -r 1.96.2.86 src/textview.c;  ) > 1.9.100cvs20.patchset
+( cvs diff -u -r 1.1.2.26 -r 1.1.2.27 src/gtk/quicksearch.c;  ) > 1.9.100cvs21.patchset
index 5532af9efaa3731225ea05269e3ad0ffa4b78744..d3fd94761ab5f468021b9c9ed1f95ef7b6c47171 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=100
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=20
+EXTRA_VERSION=21
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a421151cdac37d0c2950a61d9ec71e03a5d0dc33..93ea87f690acc615275dc1d9629d8cd6ae57fe84 100644 (file)
@@ -114,7 +114,6 @@ static void update_extended_buttons (QuickSearch *quicksearch)
                gtk_widget_hide(expr_btn);
                gtk_widget_hide(ext_btn);
        }
-       
 }
 
 static gboolean searchbar_focus_evt(GtkWidget *widget, GdkEventFocus *event,
@@ -456,25 +455,15 @@ QuickSearch *quicksearch_new()
 
        gtk_box_pack_start(GTK_BOX(hbox_search), search_hbox, FALSE, FALSE, 2);                         
        gtk_widget_show(search_hbox);
-       if (prefs_common.summary_quicksearch_type == QUICK_SEARCH_EXTENDED) {
-               gtk_widget_show(search_condition_expression);
-               gtk_widget_show(search_description);
-       } else {
-               gtk_widget_hide(search_condition_expression);
-               gtk_widget_hide(search_description);
-       }
        
        g_signal_connect(G_OBJECT(GTK_COMBO(search_string_entry)->entry), 
                           "key_press_event",
                           G_CALLBACK(searchbar_pressed),
                           quicksearch);
-
-       
        g_signal_connect(G_OBJECT(GTK_COMBO(search_string_entry)->entry),
                         "focus_in_event",
                         G_CALLBACK(searchbar_focus_evt),
                         quicksearch);
-
        g_signal_connect(G_OBJECT(GTK_COMBO(search_string_entry)->entry),
                         "focus_out_event",
                         G_CALLBACK(searchbar_focus_evt),