[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/01: Fix minimum window size.
noreply at xfce.org
noreply at xfce.org
Tue Dec 29 00:28:11 CET 2015
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 fd55bb0703c279e6965fce75bae08d0ae24ab418
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 7c790be..584c5d3 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -188,8 +188,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