From 25e25157410ff41965dd38f426538fed6c934913 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sat, 20 Feb 2016 15:55:38 +0100 Subject: GTK+3: add style class wnck-pager --- applets/wncklet/workspace-switcher.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applets') 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" -- cgit v1.2.1