diff options
author | Marvin W <git@larma.de> | 2022-02-12 20:51:31 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2022-02-12 20:51:31 +0100 |
commit | 6dca4f499ef53f25667c0fb495b5e3bec639cf36 (patch) | |
tree | 90dc9c77228d9c99385d7d03ae784102661949f1 /main/src/ui/call_window/participant_widget.vala | |
parent | ad00f3f930a7c55b4393a1a00f4de83f65750b32 (diff) | |
download | dino-6dca4f499ef53f25667c0fb495b5e3bec639cf36.tar.gz dino-6dca4f499ef53f25667c0fb495b5e3bec639cf36.zip |
Fix call participant widget
Diffstat (limited to 'main/src/ui/call_window/participant_widget.vala')
-rw-r--r-- | main/src/ui/call_window/participant_widget.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/ui/call_window/participant_widget.vala b/main/src/ui/call_window/participant_widget.vala index 1f6be68d..f18ae242 100644 --- a/main/src/ui/call_window/participant_widget.vala +++ b/main/src/ui/call_window/participant_widget.vala @@ -13,7 +13,7 @@ namespace Dino.Ui { public Box inner_box = new Box(Orientation.HORIZONTAL, 0) { margin_start=5, margin_top=5, hexpand=true, visible=true }; public Box title_box = new Box(Orientation.VERTICAL, 0) { valign=Align.CENTER, hexpand=true, visible=true }; public CallEncryptionButton encryption_button = new CallEncryptionButton() { opacity=0, relief=ReliefStyle.NONE, height_request=30, width_request=30, margin_end=5, visible=true }; - public MenuButton menu_button = new MenuButton() { relief=ReliefStyle.NONE, visible=true, image=new Image.from_icon_name("open-menu-symbolic", IconSize.MENU) }; + public MenuButton menu_button = new MenuButton() { relief=ReliefStyle.NONE, visible=true }; public Button invite_button = new Button.from_icon_name("dino-account-plus") { relief=ReliefStyle.NONE, visible=true }; public bool shows_video = false; public string? participant_name; @@ -34,7 +34,8 @@ namespace Dino.Ui { header_bar.pack_start(encryption_button); header_bar.pack_end(menu_button); - menu_button.popover = create_menu(); + menu_button.image = new Image.from_icon_name("open-menu-symbolic", IconSize.MENU); + menu_button.set_popover(create_menu()); invite_button.clicked.connect(() => invite_button_clicked()); this.add_overlay(header_bar); |