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



commit 8d9f7f24509657d3958c95ceb9b57f3d9a2c2d94
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Sat Jun 11 12:36:30 2022 +0200

    ECategoriesDialog: Use a header bar as title bar

 src/e-util/e-categories-dialog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/e-util/e-categories-dialog.c b/src/e-util/e-categories-dialog.c
index d7eea4b4d2..f34e512af1 100644
--- a/src/e-util/e-categories-dialog.c
+++ b/src/e-util/e-categories-dialog.c
@@ -101,7 +101,9 @@ e_categories_dialog_new (const gchar *categories)
 {
        ECategoriesDialog *dialog;
 
-       dialog = g_object_new (E_TYPE_CATEGORIES_DIALOG, NULL);
+       dialog = g_object_new (E_TYPE_CATEGORIES_DIALOG,
+               "use-header-bar", TRUE,
+               NULL);
 
        if (categories)
                e_categories_dialog_set_categories (dialog, categories);


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