[nautilus/wip/csoriano/progress_dialog: 5/5] nautilus-progress-ui-handler: use header bar



commit bc8a970b85f0de093af8633e4c650394464a389d
Author: Carlos Soriano <csoriano gnome org>
Date:   Mon Feb 9 10:38:15 2015 +0100

    nautilus-progress-ui-handler: use header bar

 src/nautilus-progress-ui-handler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-progress-ui-handler.c b/src/nautilus-progress-ui-handler.c
index c1d9726..21722df 100644
--- a/src/nautilus-progress-ui-handler.c
+++ b/src/nautilus-progress-ui-handler.c
@@ -161,7 +161,7 @@ progress_ui_handler_ensure_window (NautilusProgressUIHandler *self)
                return;
        }
        
-       progress_dialog = gtk_dialog_new ();
+       progress_dialog = g_object_new (GTK_TYPE_DIALOG, "use-header-bar", TRUE, NULL);
        self->priv->progress_dialog = progress_dialog;
        gtk_window_set_resizable (GTK_WINDOW (progress_dialog),
                                  FALSE);


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