From 6e1938b0893b47f0673bd773bdbfdbf6465ae018 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 12 Apr 2019 17:43:47 +0200 Subject: Clean up ConversationTitlebar --- main/CMakeLists.txt | 7 +- .../data/conversation_selector/conversation_row.ui | 2 +- main/data/unified_main_content.ui | 2 +- .../ui/conversation_selector/conversation_row.vala | 277 --------------------- .../conversation_selector.vala | 167 +++++++++++++ .../conversation_selector_row.vala | 277 +++++++++++++++++++++ main/src/ui/conversation_selector/list.vala | 167 ------------- .../conversation_titlebar.vala | 93 +++++++ main/src/ui/conversation_titlebar/view.vala | 67 ----- main/src/ui/conversation_titlebar/view_csd.vala | 36 --- main/src/ui/unified_window.vala | 54 ++-- main/src/ui/unified_window_controller.vala | 14 +- 12 files changed, 567 insertions(+), 596 deletions(-) delete mode 100644 main/src/ui/conversation_selector/conversation_row.vala create mode 100644 main/src/ui/conversation_selector/conversation_selector.vala create mode 100644 main/src/ui/conversation_selector/conversation_selector_row.vala delete mode 100644 main/src/ui/conversation_selector/list.vala create mode 100644 main/src/ui/conversation_titlebar/conversation_titlebar.vala delete mode 100644 main/src/ui/conversation_titlebar/view.vala 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 @@ -