From 850efb72380b3e2adc9f29af45a16bc1bd6e884b Mon Sep 17 00:00:00 2001 From: Adrien Plazas Date: Fri, 17 Jan 2020 18:51:39 +0100 Subject: [PATCH 047/124] application-main-window: Move the conversations searchbar Move it at above the conversations but not above the folders. This is needed to properly split the 3 panes. --- .../application/application-main-window.vala | 4 +- ui/application-main-window.ui | 105 +++++++----------- 2 files changed, 44 insertions(+), 65 deletions(-) diff --git a/src/client/application/application-main-window.vala b/src/client/application/application-main-window.vala index 0bec6614..43289e33 100644 --- a/src/client/application/application-main-window.vala +++ b/src/client/application/application-main-window.vala @@ -317,8 +317,6 @@ public class Application.MainWindow : [GtkChild] private Gtk.Box main_layout; [GtkChild] - private Gtk.Box search_bar_box; - [GtkChild] private Gtk.Paned folder_paned; [GtkChild] private Gtk.Paned conversations_paned; @@ -1210,7 +1208,7 @@ public class Application.MainWindow : // Search bar this.search_bar = new SearchBar(this.application.engine); this.search_bar.search_text_changed.connect(on_search); - this.search_bar_box.pack_start(this.search_bar, false, false, 0); + this.conversation_list_box.pack_start(this.search_bar, false, false, 0); // Folder list this.folder_list.folder_selected.connect(on_folder_selected); diff --git a/ui/application-main-window.ui b/ui/application-main-window.ui index f429a5ee..4a948294 100644 --- a/ui/application-main-window.ui +++ b/ui/application-main-window.ui @@ -28,100 +28,81 @@ True True - + True - False - vertical + True - + True - True + False + vertical - + True False - vertical + 0 + in - + + 100 True - False - 0 - in - - - 100 - True - True - never - - - + True + never - - True - True - 0 - + - False - False + True + True + 0 + + + False + False + + + + + True + False + vertical - + True False - vertical + 0 + in - + + 250 True - False - 0 - in - - - 250 - True - True - - - + True - - True - True - end - 0 - - True - False + True + True + end + 0 - - True - True - end - 0 + True + False -- 2.29.2