From 6e1938b0893b47f0673bd773bdbfdbf6465ae018 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 12 Apr 2019 17:43:47 +0200 Subject: [PATCH] Clean up ConversationTitlebar --- main/CMakeLists.txt | 7 ++- .../conversation_selector/conversation_row.ui | 2 +- main/data/unified_main_content.ui | 2 +- .../{list.vala => conversation_selector.vala} | 26 ++++----- ...ow.vala => conversation_selector_row.vala} | 6 +-- .../{view.vala => conversation_titlebar.vala} | 38 ++++++++++--- .../ui/conversation_titlebar/view_csd.vala | 36 ------------- main/src/ui/unified_window.vala | 54 ++++++------------- main/src/ui/unified_window_controller.vala | 14 +++-- 9 files changed, 78 insertions(+), 107 deletions(-) rename main/src/ui/conversation_selector/{list.vala => conversation_selector.vala} (86%) rename main/src/ui/conversation_selector/{conversation_row.vala => conversation_selector_row.vala} (98%) rename main/src/ui/conversation_titlebar/{view.vala => conversation_titlebar.vala} (63%) delete mode 100644 main/src/ui/conversation_titlebar/view_csd.vala diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index ea1a649c..dead5348 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -102,8 +102,8 @@ SOURCES src/ui/conversation_list_titlebar.vala src/ui/conversation_list_titlebar_csd.vala src/ui/global_search.vala - src/ui/conversation_selector/conversation_row.vala - src/ui/conversation_selector/list.vala + src/ui/conversation_selector/conversation_selector_row.vala + src/ui/conversation_selector/conversation_selector.vala src/ui/conversation_summary/chat_state_populator.vala src/ui/conversation_summary/content_item_widget_factory.vala src/ui/conversation_summary/content_populator.vala @@ -114,8 +114,7 @@ SOURCES src/ui/conversation_titlebar/menu_entry.vala src/ui/conversation_titlebar/occupants_entry.vala src/ui/conversation_titlebar/search_entry.vala - src/ui/conversation_titlebar/view.vala - src/ui/conversation_titlebar/view_csd.vala + src/ui/conversation_titlebar/conversation_titlebar.vala src/ui/manage_accounts/account_row.vala src/ui/manage_accounts/add_account_dialog.vala src/ui/manage_accounts/dialog.vala diff --git a/main/data/conversation_selector/conversation_row.ui b/main/data/conversation_selector/conversation_row.ui index 5b75b24e..99ae85e4 100644 --- a/main/data/conversation_selector/conversation_row.ui +++ b/main/data/conversation_selector/conversation_row.ui @@ -1,6 +1,6 @@ -