[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Set the size of the brightness icon in the panel plugin menu to 32px
noreply at xfce.org
noreply at xfce.org
Wed Aug 13 13:08:39 CEST 2014
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 65322296e784747f6fdebfa1a47b10c9771bc0e5
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Aug 13 13:07:24 2014 +0200
Set the size of the brightness icon in the panel plugin menu to 32px
This makes it consistent with the device icons in the same menu.
---
panel-plugins/battery/battery-button.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugins/battery/battery-button.c b/panel-plugins/battery/battery-button.c
index a600bc6..adddda3 100644
--- a/panel-plugins/battery/battery-button.c
+++ b/panel-plugins/battery/battery-button.c
@@ -939,8 +939,8 @@ battery_button_show_menu (BatteryButton *button)
/* attempt to load and display the brightness icon */
pix = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
XFPM_DISPLAY_BRIGHTNESS_ICON,
- button->priv->panel_icon_width,
- GTK_ICON_LOOKUP_FORCE_SIZE,
+ 32,
+ GTK_ICON_LOOKUP_GENERIC_FALLBACK,
NULL);
if (pix)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list