aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
diff options
context:
space:
mode:
authorbobufa <bobufa@users.noreply.github.com>2018-07-04 23:38:28 +0200
committerbobufa <bobufa@users.noreply.github.com>2018-08-13 22:28:45 +0200
commit8b23ddad2d33a1504cd28c0df583dfe50cadccda (patch)
treec34829ba57aae1ea9d7291d1e4a91e2cfbd337c1 /main/src/ui/chat_input
parentbabfc3bd36e0cfa50f06648224f33a6a96eb27ea (diff)
downloaddino-8b23ddad2d33a1504cd28c0df583dfe50cadccda.tar.gz
dino-8b23ddad2d33a1504cd28c0df583dfe50cadccda.zip
ui: search sidebar initial
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r--main/src/ui/chat_input/view.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala
index a1c2b83d..dd111997 100644
--- a/main/src/ui/chat_input/view.vala
+++ b/main/src/ui/chat_input/view.vala
@@ -32,7 +32,7 @@ public class View : Box {
[GtkChild] private Separator file_separator;
private EncryptionButton encryption_widget = new EncryptionButton() { margin_top=3, valign=Align.START, visible=true };
- public View(StreamInteractor stream_interactor) {
+ public View init(StreamInteractor stream_interactor) {
this.stream_interactor = stream_interactor;
occupants_tab_completor = new OccupantsTabCompletor(stream_interactor, text_input);
@@ -70,6 +70,7 @@ public class View : Box {
Util.force_css(frame, "* { border-radius: 3px; }");
stream_interactor.get_module(FileManager.IDENTITY).upload_available.connect(on_upload_available);
+ return this;
}
public void initialize_for_conversation(Conversation conversation) {