diff options
author | fiaxh <git@lightrise.org> | 2019-01-27 15:24:58 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-02-05 11:50:23 -0600 |
commit | 5a7ffbc1870aeee52fed3c457817010b608e1e52 (patch) | |
tree | 9c035688c99e8c593abf263fa8e3e805f2b14b66 /main/src/ui/occupant_menu | |
parent | 084653cfc2986cd52ffd42b347f63ca3391e6ece (diff) | |
download | dino-5a7ffbc1870aeee52fed3c457817010b608e1e52.tar.gz dino-5a7ffbc1870aeee52fed3c457817010b608e1e52.zip |
Move app menu into window, make conversation details dialog directly accessible, no-CSD option for main window
Diffstat (limited to 'main/src/ui/occupant_menu')
-rw-r--r-- | main/src/ui/occupant_menu/view.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/occupant_menu/view.vala b/main/src/ui/occupant_menu/view.vala index 1115d0ab..0d11a310 100644 --- a/main/src/ui/occupant_menu/view.vala +++ b/main/src/ui/occupant_menu/view.vala @@ -15,7 +15,7 @@ public class View : Popover { private ListBox invite_list; private Box? jid_menu = null; - public View(StreamInteractor stream_interactor, Window window, Conversation conversation) { + public View(StreamInteractor stream_interactor, Conversation conversation) { this.stream_interactor = stream_interactor; this.conversation = conversation; @@ -31,7 +31,7 @@ public class View : Popover { Gee.List<Account> acc_list = new ArrayList<Account>(Account.equals_func); acc_list.add(conversation.account); SelectContactDialog add_chat_dialog = new SelectContactDialog(stream_interactor, acc_list); - add_chat_dialog.set_transient_for(window); + add_chat_dialog.set_transient_for((Window) get_toplevel()); add_chat_dialog.title = _("Invite to Conference"); add_chat_dialog.ok_button.label = _("Invite"); add_chat_dialog.selected.connect((account, jid) => { |