[totem] main: Use header bar for the "Open Location" dialogue



commit ce5315a1eabb81ed4ffbae5a57a0f6452463cfff
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jan 25 16:43:34 2014 +0100

    main: Use header bar for the "Open Location" dialogue

 src/totem-open-location.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-open-location.c b/src/totem-open-location.c
index 1cde6fa..cd65ab8 100644
--- a/src/totem-open-location.c
+++ b/src/totem-open-location.c
@@ -172,7 +172,8 @@ totem_open_location_new (void)
        GtkTreeModel *model;
        GList *recent_items, *streams_recent_items = NULL;
 
-       open_location = TOTEM_OPEN_LOCATION (g_object_new (TOTEM_TYPE_OPEN_LOCATION, NULL));
+       open_location = TOTEM_OPEN_LOCATION (g_object_new (TOTEM_TYPE_OPEN_LOCATION,
+                                                          "use-header-bar", 1, NULL));
 
        if (open_location->priv->uri_container == NULL) {
                g_object_unref (open_location);


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