[evolution] EAttachmentDialog: Use a header bar as title bar



commit c6c8e72a584e7bdfe18b91d41a8f5facecb697ad
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Sat Jun 25 16:49:13 2022 +0200

    EAttachmentDialog: Use a header bar as title bar

 src/e-util/e-attachment-dialog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/e-util/e-attachment-dialog.c b/src/e-util/e-attachment-dialog.c
index e2b53af28d..5cc94107b4 100644
--- a/src/e-util/e-attachment-dialog.c
+++ b/src/e-util/e-attachment-dialog.c
@@ -376,7 +376,9 @@ e_attachment_dialog_new (GtkWindow *parent,
 
        return g_object_new (
                E_TYPE_ATTACHMENT_DIALOG,
-               "transient-for", parent, "attachment", attachment, NULL);
+               "transient-for", parent,
+               "use-header-bar", TRUE,
+               "attachment", attachment, NULL);
 }
 
 EAttachment *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]