diff options
author | raveit65 <[email protected]> | 2018-03-06 19:59:02 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-13 09:35:41 +0100 |
commit | 4ece3d16682b4d6445cdd96fec2958319401bc9b (patch) | |
tree | 1769b49dec66b88835fb0615f210da63294eed3b /multiload | |
parent | 5426dfb42e52a4d9ac73b796eab31c4cbeef79c0 (diff) | |
download | mate-applets-4ece3d16682b4d6445cdd96fec2958319401bc9b.tar.bz2 mate-applets-4ece3d16682b4d6445cdd96fec2958319401bc9b.tar.xz |
multiload: add style class multiload-applet
Diffstat (limited to 'multiload')
-rw-r--r-- | multiload/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/multiload/main.c b/multiload/main.c index 8ce5b70d..7973dc1c 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; |