diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-01 02:28:24 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-09 14:08:59 +0200 |
| commit | 7fbdd24b503d85423d51da49896cc99191d65c4d (patch) | |
| tree | 85dc584805ff5d80a001207899f55eeeee60931e /main/src/ui/conversation_view.vala | |
| parent | 964de8706d49f73717f05cda518d16e1fd48a0ad (diff) | |
| download | dino-7fbdd24b503d85423d51da49896cc99191d65c4d.tar.gz | |
Allow to copy messages
Diffstat (limited to 'main/src/ui/conversation_view.vala')
| -rw-r--r-- | main/src/ui/conversation_view.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/conversation_view.vala b/main/src/ui/conversation_view.vala index 47d54f92..fd0c8d66 100644 --- a/main/src/ui/conversation_view.vala +++ b/main/src/ui/conversation_view.vala @@ -14,10 +14,12 @@ public class ConversationView : Gtk.Overlay { [GtkChild] public unowned ChatInput.View chat_input; [GtkChild] public unowned ConversationSummary.ConversationView conversation_frame; [GtkChild] public unowned Revealer white_revealer; + public signal void copy_text(string text); construct { white_revealer.notify["child-revealed"].connect_after(on_child_revealed_changed); conversation_frame.on_quote_text.connect((t, text) => on_quote_text(text)); + conversation_frame.on_copy_text.connect((t, text) => copy_text(text)); } public void on_quote_text(string text) { |
