[mate-power-manager] 02/02: debian/patches: Add 1000_fix_battery_icon.patch.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Thu Jun 23 11:22:04 UTC 2016


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

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

commit f38ca31293a8ac1dfc125461343eafa84360fad5
Author: Martin Wimpress <code at flexion.org>
Date:   Thu Jun 23 12:08:41 2016 +0100

    debian/patches: Add 1000_fix_battery_icon.patch.
---
 debian/patches/1000_fix_battery_icon.patch | 19 +++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/1000_fix_battery_icon.patch b/debian/patches/1000_fix_battery_icon.patch
new file mode 100644
index 0000000..89d461f
--- /dev/null
+++ b/debian/patches/1000_fix_battery_icon.patch
@@ -0,0 +1,19 @@
+Author: Sorokin Alexei <sor.alexei at meowr.ru>
+Description: [PATCH] fix having an icon space with having no battery
+
+---
+ src/gpm-tray-icon.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
+index 6d4b2f9..3dcfae2 100644
+--- a/src/gpm-tray-icon.c
++++ b/src/gpm-tray-icon.c
+@@ -427,6 +427,7 @@ gpm_tray_icon_init (GpmTrayIcon *icon)
+ 			  G_CALLBACK (gpm_tray_icon_settings_changed_cb), icon);
+ 
+ 	icon->priv->status_icon = gtk_status_icon_new ();
++	gpm_tray_icon_show (icon, FALSE);
+ 	g_signal_connect_object (G_OBJECT (icon->priv->status_icon),
+ 				 "popup_menu",
+ 				 G_CALLBACK (gpm_tray_icon_popup_menu_cb),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5bca0bc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1000_fix_battery_icon.patch

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



More information about the pkg-mate-commits mailing list