aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_titlebar/conversation_titlebar.vala
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2022-09-12 23:10:35 +0300
committerMarvin W <git@larma.de>2023-01-24 19:20:42 +0100
commitba9462503c0561dbe8306e3bf6aa49392bfc8078 (patch)
tree13f58e9df81b2729cde489f014a4c73005b2005b /main/src/ui/conversation_titlebar/conversation_titlebar.vala
parent2741bf21ae6d53324a512dacef65d540be840fe4 (diff)
downloaddino-ba9462503c0561dbe8306e3bf6aa49392bfc8078.tar.gz
dino-ba9462503c0561dbe8306e3bf6aa49392bfc8078.zip
Use Adw.HeaderBar for CSD header bars
This allows showing the correct buttons with 'show-start-title-buttons' and 'show-end-title-buttons' properties when folding.
Diffstat (limited to 'main/src/ui/conversation_titlebar/conversation_titlebar.vala')
-rw-r--r--main/src/ui/conversation_titlebar/conversation_titlebar.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_titlebar/conversation_titlebar.vala b/main/src/ui/conversation_titlebar/conversation_titlebar.vala
index 26fd9639..56568ba2 100644
--- a/main/src/ui/conversation_titlebar/conversation_titlebar.vala
+++ b/main/src/ui/conversation_titlebar/conversation_titlebar.vala
@@ -68,7 +68,7 @@ public class ConversationTitlebarCsd : ConversationTitlebar, Object {
public new string? title { get { return title_label.label; } set { title_label.label = value; } }
public new string? subtitle { get { return subtitle_label.label; } set { subtitle_label.label = value; subtitle_label.visible = (value != null); } }
- public HeaderBar header_bar = new HeaderBar();
+ public Adw.HeaderBar header_bar = new Adw.HeaderBar();
private Label title_label = new Label("") { ellipsize=EllipsizeMode.END };
private Label subtitle_label = new Label("") { ellipsize=EllipsizeMode.END, visible=false };