summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-20 15:55:38 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-20 15:55:38 +0100
commit25e25157410ff41965dd38f426538fed6c934913 (patch)
tree105ea0919ee5f17421e80f28574dc88130b5fbea /applets/wncklet
parent4dcdb716ca1f9952243865e23e4b00bc2e0e465c (diff)
downloadmate-panel-25e25157410ff41965dd38f426538fed6c934913.tar.bz2
mate-panel-25e25157410ff41965dd38f426538fed6c934913.tar.xz
GTK+3: add style class wnck-pager
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/workspace-switcher.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 07a9cf2d..836919ba 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -561,6 +561,10 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
wnck_pager_set_shadow_type(WNCK_PAGER(pager->pager), GTK_SHADOW_IN);
#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkStyleContext *context;
+ context = gtk_widget_get_style_context (GTK_WIDGET (applet));
+ gtk_style_context_add_class (context, "wnck-pager");
+
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider,
"WnckPager:selected {\n"