summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-sidebar.c')
-rw-r--r--shell/ev-sidebar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index d8d4424f..44a146f5 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -62,7 +62,7 @@ struct _EvSidebarPrivate {
GtkTreeModel *page_model;
};
-G_DEFINE_TYPE (EvSidebar, ev_sidebar, GTK_TYPE_VBOX)
+G_DEFINE_TYPE (EvSidebar, ev_sidebar, GTK_TYPE_BOX)
#define EV_SIDEBAR_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_SIDEBAR, EvSidebarPrivate))
@@ -346,6 +346,8 @@ ev_sidebar_init (EvSidebar *ev_sidebar)
ev_sidebar->priv = EV_SIDEBAR_GET_PRIVATE (ev_sidebar);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_sidebar), GTK_ORIENTATION_VERTICAL);
+
/* data model */
ev_sidebar->priv->page_model = (GtkTreeModel *)
gtk_list_store_new (PAGE_COLUMN_NUM_COLS,