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

gottcode pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 5eb140a6da0608d91587ce943516d3bfbe5be814
Author: Graeme Gott <gra...@gottcode.org>
Date:   Thu Jan 9 08:15:36 2020 -0500

    Fix incorrect fallback value for menu opacity.
---
 panel-plugin/settings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/settings.cpp b/panel-plugin/settings.cpp
index d12e8b3..8d8d736 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -255,7 +255,7 @@ void Settings::load(char* file)
 
        menu_width = std::max(10, xfce_rc_read_int_entry(rc, "menu-width", 
menu_width));
        menu_height = std::max(10, xfce_rc_read_int_entry(rc, "menu-height", 
menu_height));
-       menu_opacity = std::min(100, std::max(0, xfce_rc_read_int_entry(rc, 
"menu-opacity", menu_height)));
+       menu_opacity = std::min(100, std::max(0, xfce_rc_read_int_entry(rc, 
"menu-opacity", menu_opacity)));
 
        for (int i = 0; i < CountCommands; ++i)
        {

-- 
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