[Pkg-xfce-commits] r8090 - in /desktop/trunk/xfce4-power-manager/debian: changelog patches/04_fix-missing-icons-for-non-system-batteries.patch patches/series
Yves-Alexis Perez
corsac at moszumanska.debian.org
Mon Dec 9 06:50:20 UTC 2013
Author: corsac
Date: Mon Dec 9 06:50:19 2013
New Revision: 8090
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8090
Log:
* debian/patches:
- 04_fix-missing-icons-for-non-system-batteries added, fix icon missing in
the system tray for non system batteries. closes: #728257
Added:
desktop/trunk/xfce4-power-manager/debian/patches/04_fix-missing-icons-for-non-system-batteries.patch
Modified:
desktop/trunk/xfce4-power-manager/debian/changelog
desktop/trunk/xfce4-power-manager/debian/patches/series
Modified: desktop/trunk/xfce4-power-manager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfce4-power-manager/debian/changelog?rev=8090&op=diff
==============================================================================
--- desktop/trunk/xfce4-power-manager/debian/changelog (original)
+++ desktop/trunk/xfce4-power-manager/debian/changelog Mon Dec 9 06:50:19 2013
@@ -13,6 +13,11 @@
* Create manpages for xfce4-power-information
and xfpm-power-backlight-helper
+ [ Yves-Alexis Perez ]
+ * debian/patches:
+ - 04_fix-missing-icons-for-non-system-batteries added, fix icon missing in
+ the system tray for non system batteries. closes: #728257
+
-- Jackson Doak <noskcaj at ubuntu.com> Sun, 18 Aug 2013 19:48:55 +1000
xfce4-power-manager (1.2.0-2) unstable; urgency=low
Added: desktop/trunk/xfce4-power-manager/debian/patches/04_fix-missing-icons-for-non-system-batteries.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfce4-power-manager/debian/patches/04_fix-missing-icons-for-non-system-batteries.patch?rev=8090&op=file
==============================================================================
--- desktop/trunk/xfce4-power-manager/debian/patches/04_fix-missing-icons-for-non-system-batteries.patch (added)
+++ desktop/trunk/xfce4-power-manager/debian/patches/04_fix-missing-icons-for-non-system-batteries.patch Mon Dec 9 06:50:19 2013
@@ -0,0 +1,22 @@
+index 763b014..6b1bd76 100644
+--- a/src/xfpm-battery.c
++++ b/src/xfpm-battery.c
+@@ -320,15 +320,15 @@ xfpm_battery_refresh_icon (XfpmBattery *
+ {
+ if ( !battery->priv->present || battery->priv->state == XFPM_DEVICE_STATE_EMPTY )
+ {
+- g_snprintf (icon_name, 128, "%s-000", battery->priv->icon_prefix);
++ g_snprintf (icon_name, 128, "%s000", battery->priv->icon_prefix);
+ }
+ else if ( battery->priv->state == XFPM_DEVICE_STATE_FULLY_CHARGED )
+ {
+- g_snprintf (icon_name, 128, "%s-100", battery->priv->icon_prefix);
++ g_snprintf (icon_name, 128, "%s100", battery->priv->icon_prefix);
+ }
+ else if ( battery->priv->state == XFPM_DEVICE_STATE_DISCHARGING )
+ {
+- g_snprintf (icon_name, 128, "%s-%s",
++ g_snprintf (icon_name, 128, "%s%s",
+ battery->priv->icon_prefix,
+ xfpm_battery_get_icon_index (battery->priv->type, battery->priv->percentage));
+ }
Modified: desktop/trunk/xfce4-power-manager/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfce4-power-manager/debian/patches/series?rev=8090&op=diff
==============================================================================
--- desktop/trunk/xfce4-power-manager/debian/patches/series (original)
+++ desktop/trunk/xfce4-power-manager/debian/patches/series Mon Dec 9 06:50:19 2013
@@ -1,3 +1,4 @@
01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch
02_translations-fix-invalid-format-strings.patch
03_fix-insert-battery.patch
+04_fix-missing-icons-for-non-system-batteries.patch
More information about the Pkg-xfce-commits
mailing list