summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-bookmarks.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-sidebar-bookmarks.c')
-rw-r--r--shell/ev-sidebar-bookmarks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ev-sidebar-bookmarks.c b/shell/ev-sidebar-bookmarks.c
index 9507e567..1e31fbc6 100644
--- a/shell/ev-sidebar-bookmarks.c
+++ b/shell/ev-sidebar-bookmarks.c
@@ -62,7 +62,7 @@ static void ev_sidebar_bookmarks_page_iface_init (EvSidebarPageInterface *iface)
G_DEFINE_TYPE_EXTENDED (EvSidebarBookmarks,
ev_sidebar_bookmarks,
- GTK_TYPE_VBOX,
+ GTK_TYPE_BOX,
0,
G_IMPLEMENT_INTERFACE (EV_TYPE_SIDEBAR_PAGE,
ev_sidebar_bookmarks_page_iface_init))
@@ -426,6 +426,7 @@ ev_sidebar_bookmarks_init (EvSidebarBookmarks *sidebar_bookmarks)
EvSidebarBookmarksPrivate);
priv = sidebar_bookmarks->priv;
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (sidebar_bookmarks), GTK_ORIENTATION_VERTICAL);
gtk_box_set_spacing (GTK_BOX (sidebar_bookmarks), 6);
swindow = gtk_scrolled_window_new (NULL, NULL);