[mate-applets] 01/01: debian/patches: Add 0001_add_style_class_multiload_applet.patch. Add style class multiload-applet.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Wed Mar 7 08:49:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository mate-applets.

commit 293fbe9787090151e569f6e3672c8a2764a630bb
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Wed Mar 7 09:48:58 2018 +0100

    debian/patches: Add 0001_add_style_class_multiload_applet.patch. Add style class multiload-applet.
---
 .../0001_add_style_class_multiload_applet.patch    | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0001_add_style_class_multiload_applet.patch b/debian/patches/0001_add_style_class_multiload_applet.patch
new file mode 100644
index 0000000..e8374ba
--- /dev/null
+++ b/debian/patches/0001_add_style_class_multiload_applet.patch
@@ -0,0 +1,23 @@
+Author: raveit65 <mate at raveit.de>
+Description: Add style class multiload-applet.
+
+diff --git a/multiload/main.c b/multiload/main.c
+index 38e8bc7..d7029dc 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;
diff --git a/debian/patches/series b/debian/patches/series
index 6692119..bc8f6ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0001_add_style_class_multiload_applet.patch
 1000-fix-build-on-linux-4.7-or-newer.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-applets.git



More information about the pkg-mate-commits mailing list