[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 257/473: Fix regression where commands were always shown.
noreply at xfce.org
noreply at xfce.org
Mon Feb 16 23:57:07 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 7f3b08099e9551f65060104f73d25f1513880d3b
Author: Graeme Gott <graeme at gottcode.org>
Date: Thu Nov 21 09:13:05 2013 -0500
Fix regression where commands were always shown.
---
panel-plugin/command.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/panel-plugin/command.cpp b/panel-plugin/command.cpp
index ad18a22..9fca424 100644
--- a/panel-plugin/command.cpp
+++ b/panel-plugin/command.cpp
@@ -185,10 +185,12 @@ void Command::check()
if (m_button)
{
+ gtk_widget_set_visible(m_button, m_shown);
gtk_widget_set_sensitive(m_button, m_status == WHISKERMENU_COMMAND_VALID);
}
if (m_menuitem)
{
+ gtk_widget_set_visible(m_menuitem, m_shown);
gtk_widget_set_sensitive(m_menuitem, m_status == WHISKERMENU_COMMAND_VALID);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list