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

noreply at xfce.org noreply at xfce.org
Sat Jan 18 16:26:28 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       a   n   n   o   t   a   t   e   d       t   a   g       v   2   .   3   .   5   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 0169718b390c945cafb118e8ec60565bb8c05651
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 c332bb5..e33d91d 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -253,7 +253,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