summaryrefslogtreecommitdiff
path: root/multiload
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-06 19:59:02 +0100
committerraveit65 <[email protected]>2018-03-06 19:59:02 +0100
commit147ca93e4d36337b311ee592a1a142dde8e5ded0 (patch)
tree53ebb35b5b71887d45ac5e58ef21f68bd6df9d17 /multiload
parent607d5228f3a280dd8acfcdaba7da7c83c496de32 (diff)
downloadmate-applets-147ca93e4d36337b311ee592a1a142dde8e5ded0.tar.bz2
mate-applets-147ca93e4d36337b311ee592a1a142dde8e5ded0.tar.xz
multiload: add style class multiload-applet
Diffstat (limited to 'multiload')
-rw-r--r--multiload/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/multiload/main.c b/multiload/main.c
index 38e8bc78..d7029dc9 100644
--- a/multiload/main.c
+++ b/multiload/main.c
@@ -492,11 +492,15 @@ static const GtkActionEntry multiload_menu_actions [] = {
static gboolean
multiload_applet_new(MatePanelApplet *applet, const gchar *iid, gpointer data)
{
+ GtkStyleContext *context;
MultiloadApplet *ma;
GSettings *lockdown_settings;
GtkActionGroup *action_group;
gchar *ui_path;
+ context = gtk_widget_get_style_context (GTK_WIDGET (applet));
+ gtk_style_context_add_class (context, "multiload-applet");
+
ma = g_new0(MultiloadApplet, 1);
ma->applet = applet;