diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-08 20:39:47 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:42 +0800 |
commit | e106a6043298ddb1b28c4c0dcaf6d21d5b7eb0ca (patch) | |
tree | ba4bcc1abc599e0e3e9685151d6f23fd99988e04 /shell | |
parent | 63dae545b625c7ef7b032b181a0313f1af06b330 (diff) | |
download | gsoc2013-evolution-e106a6043298ddb1b28c4c0dcaf6d21d5b7eb0ca.tar.gz gsoc2013-evolution-e106a6043298ddb1b28c4c0dcaf6d21d5b7eb0ca.tar.zst gsoc2013-evolution-e106a6043298ddb1b28c4c0dcaf6d21d5b7eb0ca.zip |
Bug 644166 - Add style class to primary toolbars
Requires GTK+ >= 3.0.2 since GTK_STYLE_CLASS_PRIMARY_TOOLBAR is a very
recent addition.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index 8c0258eb87..1ba075d957 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -414,6 +414,10 @@ shell_window_construct_toolbar (EShellWindow *shell_window) toolbar = e_shell_window_get_managed_widget ( shell_window, "/main-toolbar"); + gtk_style_context_add_class ( + gtk_widget_get_style_context (toolbar), + GTK_STYLE_CLASS_PRIMARY_TOOLBAR); + if (e_shell_get_meego_mode (shell)) gtk_widget_set_name (GTK_WIDGET (toolbar), "MeeGoToolbar"); |