aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-19 19:39:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-19 19:40:22 +0800
commit1d389a5eb59574dc6bc702c94bdb0efb4a601ae3 (patch)
tree8dacd481bf8a0446556e14a4bfeffa787258da77 /shell
parent6420796df226e777cfa73061f2034c97fda08f27 (diff)
downloadgsoc2013-evolution-1d389a5eb59574dc6bc702c94bdb0efb4a601ae3.tar.gz
gsoc2013-evolution-1d389a5eb59574dc6bc702c94bdb0efb4a601ae3.tar.zst
gsoc2013-evolution-1d389a5eb59574dc6bc702c94bdb0efb4a601ae3.zip
Left-align text in switcher buttons.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-switcher.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index db788e20f3..f0149386b5 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;
}
/**