[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 426/473: Only allow commands next to search when next to panel button. Closes #98
noreply at xfce.org
noreply at xfce.org
Mon Feb 16 23:59:56 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 c3461399267a6282e17d6c1f1c5917d6d7ae0ce8
Author: Graeme Gott <graeme at gottcode.org>
Date: Mon Dec 8 16:05:57 2014 -0500
Only allow commands next to search when next to panel button. Closes #98
---
panel-plugin/configuration-dialog.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/panel-plugin/configuration-dialog.cpp b/panel-plugin/configuration-dialog.cpp
index 1e3c1b7..f4bcbd6 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -217,6 +217,10 @@ void ConfigurationDialog::toggle_position_search_alternate(GtkToggleButton* butt
wm_settings->position_search_alternate = gtk_toggle_button_get_active(button);
wm_settings->set_modified();
gtk_widget_set_sensitive(GTK_WIDGET(m_position_commands_alternate), active);
+ if (!active)
+ {
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_position_commands_alternate), false);
+ }
}
//-----------------------------------------------------------------------------
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list