diff options
Diffstat (limited to 'main/src/ui/conversation_titlebar.vala')
-rw-r--r-- | main/src/ui/conversation_titlebar.vala | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/main/src/ui/conversation_titlebar.vala b/main/src/ui/conversation_titlebar.vala index 45c4c9c1..70a376f1 100644 --- a/main/src/ui/conversation_titlebar.vala +++ b/main/src/ui/conversation_titlebar.vala @@ -61,11 +61,8 @@ 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); - Popover popover = new Popover(null); - OccupantList occupant_list = new OccupantList(stream_interactor, conversation); - popover.add(occupant_list); - occupant_list.show_all(); - groupchat_button.set_popover(popover); + OccupantMenu.View menu = new OccupantMenu.View(stream_interactor, conversation); + groupchat_button.set_popover(menu); } } |