aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-08 20:39:47 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:42 +0800
commite106a6043298ddb1b28c4c0dcaf6d21d5b7eb0ca (patch)
treeba4bcc1abc599e0e3e9685151d6f23fd99988e04 /calendar/gui
parent63dae545b625c7ef7b032b181a0313f1af06b330 (diff)
downloadgsoc2013-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 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 0e4250c7c1..1d6fa36653 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1965,6 +1965,10 @@ comp_editor_init (CompEditor *editor)
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
+ gtk_style_context_add_class (
+ gtk_widget_get_style_context (widget),
+ GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+
widget = e_attachment_paned_new ();
gtk_container_set_border_width (GTK_CONTAINER (widget), 6);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);