[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/08: Only allow commands next to search when next to panel button.

noreply at xfce.org noreply at xfce.org
Sat Aug 20 18:35:27 CEST 2016


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

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

commit aec577dc1c33ac1042bf86e73261c4a00c84c0f3
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.
---
 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 6e8bc18..dbe44c8 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