[evolution] EMailFolderSortOrderDialog: Use a header bar as title bar
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMailFolderSortOrderDialog: Use a header bar as title bar
- Date: Thu, 21 Jul 2022 11:49:07 +0000 (UTC)
commit c538877d39ef57c9793c12e0b54e29db51a5cb4f
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date: Sat Jun 25 19:29:16 2022 +0200
EMailFolderSortOrderDialog: Use a header bar as title bar
src/mail/e-mail-folder-sort-order-dialog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/mail/e-mail-folder-sort-order-dialog.c b/src/mail/e-mail-folder-sort-order-dialog.c
index e32986da9c..8b143a552b 100644
--- a/src/mail/e-mail-folder-sort-order-dialog.c
+++ b/src/mail/e-mail-folder-sort-order-dialog.c
@@ -749,8 +749,6 @@ e_mail_folder_sort_order_dialog_constructed (GObject *object)
g_clear_object (&session);
g_clear_object (&model);
- gtk_dialog_add_buttons (GTK_DIALOG (dialog), _("_Close"), GTK_RESPONSE_CANCEL, NULL);
-
gtk_drag_source_set (dialog->priv->folder_tree, GDK_BUTTON1_MASK, row_targets, G_N_ELEMENTS
(row_targets), GDK_ACTION_MOVE);
gtk_drag_dest_set (dialog->priv->folder_tree, GTK_DEST_DEFAULT_MOTION, row_targets, G_N_ELEMENTS
(row_targets), GDK_ACTION_MOVE);
@@ -858,6 +856,7 @@ e_mail_folder_sort_order_dialog_new (GtkWindow *parent,
return g_object_new (E_TYPE_MAIL_FOLDER_SORT_ORDER_DIALOG,
"transient-for", parent,
+ "use-header-bar", TRUE,
"store", store,
"folder-uri", folder_uri,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]