[evolution] Left-align text in switcher buttons.



commit 1d389a5eb59574dc6bc702c94bdb0efb4a601ae3
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jun 19 07:39:37 2010 -0400

    Left-align text in switcher buttons.

 shell/e-shell-switcher.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index db788e2..f014938 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -426,6 +426,12 @@ shell_switcher_get_relief_style (GtkToolShell *shell)
 	return GTK_RELIEF_NORMAL;
 }
 
+static gfloat
+shell_switcher_get_text_alignment (GtkToolShell *shell)
+{
+	return 0.0;
+}
+
 static void
 e_shell_switcher_class_init (EShellSwitcherClass *class)
 {
@@ -519,6 +525,7 @@ shell_switcher_tool_shell_iface_init (GtkToolShellIface *iface)
 	iface->get_orientation = shell_switcher_get_orientation;
 	iface->get_style = shell_switcher_get_style;
 	iface->get_relief_style = shell_switcher_get_relief_style;
+	iface->get_text_alignment = shell_switcher_get_text_alignment;
 }
 
 /**



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