[balsa/gtk3] Use header bar in over-write confirmation dialog



commit c55d3895d90244461fccb3b306b0b2d1179bf17d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Mar 24 22:58:50 2015 -0400

    Use header bar in over-write confirmation dialog
    
        * src/balsa-mime-widget-callbacks.c
        (balsa_mime_widget_ctx_menu_save): use header bar in dialog.

 ChangeLog                         |    7 +++++++
 src/balsa-mime-widget-callbacks.c |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e4fe063..3f36f3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,13 @@
 
        Use header bar
 
+       * src/balsa-mime-widget-callbacks.c
+       (balsa_mime_widget_ctx_menu_save): use header bar in dialog.
+
+2015-03-24  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Use header bar
+
        * src/balsa-message.c: use header bar in dialog.
 
 2015-03-24  Peter Bloomfield  <pbloomfield bellsouth net>
diff --git a/src/balsa-mime-widget-callbacks.c b/src/balsa-mime-widget-callbacks.c
index 41dcd4b..03889de 100644
--- a/src/balsa-mime-widget-callbacks.c
+++ b/src/balsa-mime-widget-callbacks.c
@@ -137,7 +137,8 @@ balsa_mime_widget_ctx_menu_save(GtkWidget * parent_widget,
 
        /* File exists. check if they really want to overwrite */
        confirm = gtk_message_dialog_new(GTK_WINDOW(balsa_app.main_window),
-                                        GTK_DIALOG_MODAL,
+                                        GTK_DIALOG_MODAL |
+                                         GTK_DIALOG_USE_HEADER_BAR,
                                         GTK_MESSAGE_QUESTION,
                                         GTK_BUTTONS_YES_NO,
                                         _("File already exists. Overwrite?"));


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