This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository panel-plugins/xfce4-pulseaudio-plugin.
commit 2c8c8a39e2c604337f9e5b5e11ffbce26ea24d3a Author: Harald Judt <harald.j...@univie.ac.at> Date: Tue Nov 14 13:31:22 2017 +0100 Fix size calculation caused by 7c2e79ae34 (bug #13998) The commit missed adjusting `size', as done previously, which is used as an argument to pulseaudio_button_set_size. Signed-off-by: Sean Davis <smd.seanda...@gmail.com> --- panel-plugin/pulseaudio-plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panel-plugin/pulseaudio-plugin.c b/panel-plugin/pulseaudio-plugin.c index c4346c0..67dd3e9 100644 --- a/panel-plugin/pulseaudio-plugin.c +++ b/panel-plugin/pulseaudio-plugin.c @@ -254,11 +254,13 @@ pulseaudio_plugin_size_changed (XfcePanelPlugin *plugin, gint icon_size; /* The plugin only occupies a single row */ + size /= xfce_panel_plugin_get_nrows(plugin); + #if LIBXFCE4PANEL_CHECK_VERSION (4, 13, 0) icon_size = xfce_panel_plugin_get_icon_size (plugin); #else // fall-back for older panel versions - icon_size = size / xfce_panel_plugin_get_nrows(plugin); + icon_size = size; icon_size -= 4; if (icon_size < 24) icon_size = 16; -- 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