summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2023-04-26 17:45:51 +0000
committerLogan Rathbone <poprocks@gmail.com>2023-04-26 17:45:51 +0000
commit548ca2f19c8d42fbe62e179f5b1cffc0362b4664 (patch)
treef8fb52b0ef9b8d23aa46cc55274db9d71193b356 /src/tree.c
parent7998cc581046aeab3f7c952656aec8accaef76e2 (diff)
parent5db548c4368459eb71da8f2a923c8830f5e0bcba (diff)
downloadzenity-548ca2f19c8d42fbe62e179f5b1cffc0362b4664.tar.gz
Merge branch 'title-heading' into 'master'
Set dialog 'heading', not 'title' See merge request GNOME/zenity!26
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index b59a919..2f97094 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -291,7 +291,7 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
g_signal_connect (dialog, "response", G_CALLBACK(zenity_tree_dialog_response), data);
if (data->dialog_title)
- gtk_window_set_title (GTK_WINDOW (dialog), data->dialog_title);
+ adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
if (data->modal)
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);