[evince] properties: Use a vertical box instead of a vbox



commit bd9f1a6ad51869cddc973f180314319172e6538d
Author: Christian Persch <chpe gnome org>
Date:   Sun Jun 9 00:52:03 2013 +0200

    properties: Use a vertical box instead of a vbox

 properties/ev-properties-view.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c
index 630f743..b6cbe08 100644
--- a/properties/ev-properties-view.c
+++ b/properties/ev-properties-view.c
@@ -85,7 +85,7 @@ struct _EvPropertiesViewClass {
        GtkVBoxClass base_class;
 };
 
-G_DEFINE_TYPE (EvPropertiesView, ev_properties_view, GTK_TYPE_VBOX)
+G_DEFINE_TYPE (EvPropertiesView, ev_properties_view, GTK_TYPE_BOX)
 
 static void
 ev_properties_view_dispose (GObject *object)
@@ -394,7 +394,9 @@ ev_properties_view_new (const gchar *uri)
 {
        EvPropertiesView *properties;
 
-       properties = g_object_new (EV_TYPE_PROPERTIES, NULL);
+       properties = g_object_new (EV_TYPE_PROPERTIES,
+                                  "orientation", GTK_ORIENTATION_VERTICAL,
+                                  NULL);
        properties->uri = g_uri_unescape_string (uri, NULL);
 
        return GTK_WIDGET (properties);


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