diff options
author | fiaxh <git@mx.ax.lt> | 2017-06-11 13:59:24 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-06-11 13:59:24 +0200 |
commit | e63d59eb3450471b33a22efda6df8871818209b1 (patch) | |
tree | 11660e951bf049318f6c0eae8a60fcfbff4c029e /main/src/ui/conversation_titlebar.vala | |
parent | 205bd444a5ba9d119952ecddbf815f50174da8c7 (diff) | |
download | dino-e63d59eb3450471b33a22efda6df8871818209b1.tar.gz dino-e63d59eb3450471b33a22efda6df8871818209b1.zip |
Muc Invite + Kick
Diffstat (limited to 'main/src/ui/conversation_titlebar.vala')
-rw-r--r-- | main/src/ui/conversation_titlebar.vala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/src/ui/conversation_titlebar.vala b/main/src/ui/conversation_titlebar.vala index 0537a1b9..be532392 100644 --- a/main/src/ui/conversation_titlebar.vala +++ b/main/src/ui/conversation_titlebar.vala @@ -16,10 +16,12 @@ public class ConversationTitlebar : Gtk.HeaderBar { private Map<RadioButton, Plugins.EncryptionListEntry> encryption_radios = new HashMap<RadioButton, Plugins.EncryptionListEntry>(); private StreamInteractor stream_interactor; + private Window window; private Conversation? conversation; - public ConversationTitlebar(StreamInteractor stream_interactor) { + public ConversationTitlebar(StreamInteractor stream_interactor, Window window) { this.stream_interactor = stream_interactor; + this.window = window; create_conversation_menu(); create_encryption_menu(); @@ -67,7 +69,7 @@ public class ConversationTitlebar : Gtk.HeaderBar { groupchat_button.visible = conversation.type_ == Conversation.Type.GROUPCHAT; if (conversation.type_ == Conversation.Type.GROUPCHAT) { groupchat_button.set_use_popover(true); - OccupantMenu.View menu = new OccupantMenu.View(stream_interactor, conversation); + OccupantMenu.View menu = new OccupantMenu.View(stream_interactor, window, conversation); groupchat_button.set_popover(menu); } } |