[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 04/10: Fix minimum window size.

noreply at xfce.org noreply at xfce.org
Sat Aug 20 18:36:26 CEST 2016


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

gottcode pushed a commit to annotated tag v1.5.2
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit ca86bef9cf44d310d80cf3b06766ab0a9d11cf1e
Author: Graeme Gott <graeme at gottcode.org>
Date:   Mon Dec 28 18:26:09 2015 -0500

    Fix minimum window size.
---
 panel-plugin/settings.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/settings.cpp b/panel-plugin/settings.cpp
index b00ed98..71482c1 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -187,8 +187,8 @@ void Settings::load(char* file)
 	position_commands_alternate = xfce_rc_read_bool_entry(rc, "position-commands-alternate", position_commands_alternate) && position_search_alternate;
 	position_categories_alternate = xfce_rc_read_bool_entry(rc, "position-categories-alternate", position_categories_alternate);
 
-	menu_width = std::max(300, xfce_rc_read_int_entry(rc, "menu-width", menu_width));
-	menu_height = std::max(400, xfce_rc_read_int_entry(rc, "menu-height", menu_height));
+	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)));
 
 	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