diff options
author | infirit <[email protected]> | 2014-12-10 02:16:35 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 02:16:35 +0100 |
commit | 1a09942161a051ffda7a88083428dee076b813c4 (patch) | |
tree | b3e02853ee8a7ff2c9108d7d6a407c861a3cbd4f | |
parent | ba532efcd35e1adb0e84e774418787c32c590b19 (diff) | |
download | atril-1a09942161a051ffda7a88083428dee076b813c4.tar.bz2 atril-1a09942161a051ffda7a88083428dee076b813c4.tar.xz |
sidebar: align page numbers to the right in sidebar-links
Taken from evince commit: 200d6798c462e3669c01020dc5a7e2ee22e1b039
From: Carlos Garcia Campos <[email protected]>
-rw-r--r-- | shell/ev-sidebar-links.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c index 0731f7d7..5d8087a1 100644 --- a/shell/ev-sidebar-links.c +++ b/shell/ev-sidebar-links.c @@ -435,7 +435,10 @@ ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links) gtk_tree_view_column_set_attributes (GTK_TREE_VIEW_COLUMN (column), renderer, "text", EV_DOCUMENT_LINKS_COLUMN_PAGE_LABEL, NULL); - g_object_set (G_OBJECT (renderer), "style", PANGO_STYLE_ITALIC, NULL); + g_object_set (G_OBJECT (renderer), + "style", PANGO_STYLE_ITALIC, + "xalign", 1.0, + NULL); g_signal_connect (priv->tree_view, "button_press_event", |