summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorNeil Jagdish Patel <neil.patel@canonical.com>2011-06-20 22:39:32 +0100
committerNeil Jagdish Patel <neil.patel@canonical.com>2011-06-20 22:39:32 +0100
commit5797d8c66eb16e11539e5721a1d86840fc4ecbb7 (patch)
tree0f312b9bad75dd85b82f8c253d6b9d640a2691cd /plugins
parentbffa8670d2591a0480c7f3c6cf8974f1df5380cb (diff)
Make the panel draw the right background with the new gtk3 goodness
(bzr r1242.2.4)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/PanelStyle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/unityshell/src/PanelStyle.cpp b/plugins/unityshell/src/PanelStyle.cpp
index 18d621d98..c31361e6c 100644
--- a/plugins/unityshell/src/PanelStyle.cpp
+++ b/plugins/unityshell/src/PanelStyle.cpp
@@ -47,6 +47,8 @@ PanelStyle::PanelStyle ()
_offscreen = gtk_offscreen_window_new ();
gtk_widget_set_name (_offscreen, "UnityPanelWidget");
gtk_widget_set_size_request (_offscreen, 100, 24);
+ gtk_style_context_add_class (gtk_widget_get_style_context (_offscreen),
+ "menubar");
gtk_widget_show_all (_offscreen);
_gtk_theme_changed_id = g_signal_connect (gtk_settings_get_default (), "notify::gtk-theme-name",