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

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 0dd1196b8fc5c8634f858c4f68e5ff7360a4da01
Author: Eric Koegel <eric.koe...@gmail.com>
Date:   Sat May 23 11:44:45 2015 +0300

    Fix for panel icon on Desktop systems (Bug #11840)
    
    This fixes the panel icon on a desktop system with no battery
    devices.
---
 panel-plugins/power-manager-plugin/power-manager-button.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c 
b/panel-plugins/power-manager-plugin/power-manager-button.c
index edc31c6..15e2689 100644
--- a/panel-plugins/power-manager-plugin/power-manager-button.c
+++ b/panel-plugins/power-manager-plugin/power-manager-button.c
@@ -407,13 +407,7 @@ power_manager_button_update_device_icon_and_details 
(PowerManagerButton *button,
         DBG("this is the display device, updating");
         /* it is! update the panel button */
         g_free (button->priv->panel_icon_name);
-#ifdef XFCE_PLUGIN
-        g_object_get (device,
-                      "icon-name", &icon_name,
-                      NULL);
-        if (icon_name == NULL)
-            icon_name = g_strdup (PANEL_DEFAULT_ICON);
-#endif
+
         button->priv->panel_icon_name = g_strdup (icon_name);
         power_manager_button_set_icon (button);
         /* update tooltip */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to