[evince] sidebar: align page numbers to the right in sidebar-links



commit 200d6798c462e3669c01020dc5a7e2ee22e1b039
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Mar 20 13:23:27 2011 +0100

    sidebar: align page numbers to the right in sidebar-links

 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 6985608..28a4fdd 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",



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