[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 03/04: Fix incorrect fallback value for menu opacity.

noreply at xfce.org noreply at xfce.org
Fri Jan 10 03:02:48 CET 2020


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

g   o   t   t   c   o   d   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-whiskermenu-plugin.

commit 5eb140a6da0608d91587ce943516d3bfbe5be814
Author: Graeme Gott <graeme at 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.


More information about the Xfce4-commits mailing list