~ubuntu-branches/ubuntu/saucy/xfce4-power-manager/saucy

« back to all changes in this revision

Viewing changes to debian/patches/xubuntu_fix-status-icon-other-devices.patch

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-04-03 22:15:05 UTC
  • mfrom: (2.3.8)
  • Revision ID: package-import@ubuntu.com-20120403221505-2dvza7w2d97zb7qn
Tags: 1.0.11-0ubuntu1
* New upstream bugfix release.
* debian/patches:
  - 0001-Solaris-specific-code-for-determining-the-start-time.patch,
    02_fix-notify-detect.patch,
    07_fix_broken_empty_icon_battery.patch: dropped, included upstream.
  - xubuntu_fix-status-icon-other-devices.patch: refreshed to apply cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
+++ xfce4-power-manager-1.0.10/src/xfpm-battery.c
8
8
@@ -314,15 +314,15 @@ xfpm_battery_refresh_icon (XfpmBattery *
9
9
     {
10
 
        if ( !battery->priv->present )
 
10
        if ( !battery->priv->present || battery->priv->state == XFPM_DEVICE_STATE_EMPTY )
11
11
        {
12
12
-           g_snprintf (icon_name, 128, "%s-000", battery->priv->icon_prefix);
13
13
+           g_snprintf (icon_name, 128, "%s000", battery->priv->icon_prefix);