[evince] ev-sidebar: Put the sidebar switcher on the bottom
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] ev-sidebar: Put the sidebar switcher on the bottom
- Date: Wed, 1 Aug 2018 03:30:32 +0000 (UTC)
commit fe11db0d76e66756aa5c0c7c865cf22eea90cf93
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Tue Jul 31 23:23:25 2018 -0400
ev-sidebar: Put the sidebar switcher on the bottom
From issue #947:
... move the sidebar switcher (with the toggles for the different
views) to the bottom, since it feels a bit imposing and disruptive
at the top.
shell/ev-sidebar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index 197b96b0..412d3bf1 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -202,7 +202,7 @@ ev_sidebar_init (EvSidebar *ev_sidebar)
switcher = gtk_stack_switcher_new ();
ev_sidebar->priv->switcher = switcher;
- gtk_box_pack_start (GTK_BOX (ev_sidebar), switcher, FALSE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (ev_sidebar), switcher, FALSE, TRUE, 0);
g_object_set (switcher, "icon-size", 1, NULL);
gtk_container_set_border_width (GTK_CONTAINER (switcher), 6);
gtk_widget_set_halign (switcher, GTK_ALIGN_FILL);
@@ -215,7 +215,7 @@ ev_sidebar_init (EvSidebar *ev_sidebar)
gtk_stack_set_homogeneous (GTK_STACK (stack), TRUE);
gtk_stack_switcher_set_stack (GTK_STACK_SWITCHER (switcher),
GTK_STACK (stack));
- gtk_box_pack_start (GTK_BOX (ev_sidebar), stack, TRUE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (ev_sidebar), stack, TRUE, TRUE, 0);
gtk_widget_show (ev_sidebar->priv->stack);
g_signal_connect (stack, "notify::visible-child",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]