[balsa/gtk3] Use header bar in condition edit dialog



commit b4aafbcd7faf760ca7ce6c32ed6f44833d8e7681
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Mar 25 13:53:55 2015 -0400

    Use header bar in condition edit dialog
    
        * src/filter-edit-callbacks.c (fe_edit_condition): use header
        bar in dialog.

 ChangeLog                   |    5 +++++
 src/filter-edit-callbacks.c |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3f36f3a..8da360c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-25  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * src/filter-edit-callbacks.c (fe_edit_condition): use header
+       bar in dialog.
+
 2015-03-24  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Use header bar
diff --git a/src/filter-edit-callbacks.c b/src/filter-edit-callbacks.c
index 5ceb834..37406af 100644
--- a/src/filter-edit-callbacks.c
+++ b/src/filter-edit-callbacks.c
@@ -1236,7 +1236,8 @@ fe_edit_condition(GtkWidget * throwaway,gpointer is_new_cnd)
         condition_dialog=
             gtk_dialog_new_with_buttons("",
                                         GTK_WINDOW(fe_window),
-                                        GTK_DIALOG_DESTROY_WITH_PARENT,
+                                        GTK_DIALOG_DESTROY_WITH_PARENT |
+                                        GTK_DIALOG_USE_HEADER_BAR,
                                         _("_OK"), GTK_RESPONSE_OK,
                                         _("_Cancel"), GTK_RESPONSE_CANCEL,
                                         _("_Help"), GTK_RESPONSE_HELP,


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