fix hbox_search visibility after (de)separation of GUI elements
authorColin Leroy <colin@colino.net>
Fri, 23 Aug 2002 11:42:17 +0000 (11:42 +0000)
committerColin Leroy <colin@colino.net>
Fri, 23 Aug 2002 11:42:17 +0000 (11:42 +0000)
ChangeLog.claws
configure.in
src/mainwindow.c

index 57ecfcb..b6eb405 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-24 [colin]     0.8.1claws109
+
+       *src/mainwindow.c
+               fix quick search visibility after GUI (de)separations.
+
 2002-08-23 [colin]     0.8.1claws108
 
        * src/mainwindow.c
index 81f7a6c..4df6102 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws108
+EXTRA_VERSION=claws109
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 0efad3b..ad93951 100644 (file)
@@ -1854,6 +1854,10 @@ static void main_window_set_widgets(MainWindow *mainwin, SeparateType type)
                break;
        }
 
+       /* rehide quick search if necessary */
+       if (!prefs_common.show_searchbar)
+               gtk_widget_hide(mainwin->summaryview->hbox_search);
+       
        mainwin->type = type;
 
        mainwin->messageview->visible = TRUE;