Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
xfce4-power-manager
xfce4-power-manager-fix-battery-icon-typo.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-power-manager-fix-battery-icon-typo.patch of Package xfce4-power-manager
Index: xfce4-power-manager-1.2.0/src/xfpm-battery.c =================================================================== --- xfce4-power-manager-1.2.0.orig/src/xfpm-battery.c +++ xfce4-power-manager-1.2.0/src/xfpm-battery.c @@ -320,16 +320,16 @@ 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", - battery->priv->icon_prefix, + g_snprintf (icon_name, 128, "%s%s", + battery->priv->icon_prefix, xfpm_battery_get_icon_index (battery->priv->type, battery->priv->percentage)); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor