[balsa/gtk3] Use header bars in information dialogs



commit aea86b73c9157f1fe4f529441ede56361ee1fcfd
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Mar 25 14:10:37 2015 -0400

    Use header bars in information dialogs
    
        * src/information-dialog.c (balsa_information_dialog),
        (balsa_information_list): use header bars in dialogs.

 ChangeLog                |    5 +++++
 src/information-dialog.c |    6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 76ae94b..54bb961 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-03-25  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       * src/information-dialog.c (balsa_information_dialog),
+       (balsa_information_list): use header bars in dialogs.
+
+2015-03-25  Peter Bloomfield  <pbloomfield bellsouth net>
+
        * src/folder-conf.c (folder_conf_imap_node), (browse_button_cb),
        (subfolder_conf_clicked_ok), (folder_conf_imap_sub_node),
        (folder_conf_delete): use header bars in dialogs.
diff --git a/src/information-dialog.c b/src/information-dialog.c
index ae34a7b..9a1e17d 100644
--- a/src/information-dialog.c
+++ b/src/information-dialog.c
@@ -182,7 +182,8 @@ balsa_information_dialog(GtkWindow *parent, LibBalsaInformationType type,
      * the message string. */
     messagebox =
         gtk_message_dialog_new(GTK_WINDOW(parent),
-                               GTK_DIALOG_DESTROY_WITH_PARENT,
+                               GTK_DIALOG_DESTROY_WITH_PARENT |
+                               GTK_DIALOG_USE_HEADER_BAR,
                                message_type, GTK_BUTTONS_CLOSE,
                                "%s", msg);
 #if HAVE_MACOSX_DESKTOP
@@ -232,7 +233,8 @@ balsa_information_list(GtkWindow *parent, LibBalsaInformationType type,
        information_dialog =
            gtk_dialog_new_with_buttons(_("Information - Balsa"), 
                                         parent,
-                                        GTK_DIALOG_DESTROY_WITH_PARENT,
+                                        GTK_DIALOG_DESTROY_WITH_PARENT |
+                                        GTK_DIALOG_USE_HEADER_BAR,
                                         _("_Clear"), GTK_RESPONSE_APPLY,
                                         _("Cl_ose"), GTK_RESPONSE_CLOSE,
                                         NULL);


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