From f277db6cb459c6e7456fb75722b9d57f734c4db6 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 15 Mar 2017 21:37:49 +0100 Subject: [PATCH] Display /me differently fixes #12 --- main/CMakeLists.txt | 5 +- .../data/conversation_summary/message_item.ui | 29 +-- .../conversation_item.vala | 34 ++++ .../merged_message_item.vala | 190 +++--------------- .../merged_status_item.vala | 31 --- .../ui/conversation_summary/message_item.vala | 112 +++++++++++ .../message_textview.vala | 87 ++++++++ .../ui/conversation_summary/slashme_item.vala | 43 ++++ .../ui/conversation_summary/status_item.vala | 2 +- main/src/ui/conversation_summary/view.vala | 43 ++-- main/src/ui/util.vala | 5 + 11 files changed, 333 insertions(+), 248 deletions(-) create mode 100644 main/src/ui/conversation_summary/conversation_item.vala delete mode 100644 main/src/ui/conversation_summary/merged_status_item.vala create mode 100644 main/src/ui/conversation_summary/message_item.vala create mode 100644 main/src/ui/conversation_summary/message_textview.vala create mode 100644 main/src/ui/conversation_summary/slashme_item.vala diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 619f23c9..7d38235c 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -80,8 +80,11 @@ SOURCES src/ui/conversation_selector/groupchat_row.vala src/ui/conversation_selector/list.vala src/ui/conversation_selector/view.vala + src/ui/conversation_summary/conversation_item.vala src/ui/conversation_summary/merged_message_item.vala - src/ui/conversation_summary/merged_status_item.vala + src/ui/conversation_summary/message_item.vala + src/ui/conversation_summary/message_textview.vala + src/ui/conversation_summary/slashme_item.vala src/ui/conversation_summary/status_item.vala src/ui/conversation_summary/view.vala src/ui/conversation_titlebar.vala diff --git a/main/data/conversation_summary/message_item.ui b/main/data/conversation_summary/message_item.ui index eac97279..e7b4f46f 100644 --- a/main/data/conversation_summary/message_item.ui +++ b/main/data/conversation_summary/message_item.ui @@ -1,6 +1,6 @@ -