projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix hbox_search visibility after (de)separation of GUI elements
[claws.git]
/
src
/
mainwindow.c
diff --git
a/src/mainwindow.c
b/src/mainwindow.c
index 0efad3bef1ac12b96974c8f98f779fc1c15e3f40..ad93951f5e78479f1dd0fe8694cf2fea057fd29b 100644
(file)
--- a/
src/mainwindow.c
+++ b/
src/mainwindow.c
@@
-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;