[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/01: Fix regression where categories did not switch positions.

noreply at xfce.org noreply at xfce.org
Thu Apr 26 23:42:54 CEST 2018


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

g   o   t   t   c   o   d   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 1e61bd185fc3778fc38d933956677c829ff7d0be
Author: Graeme Gott <graeme at gottcode.org>
Date:   Thu Apr 26 17:42:13 2018 -0400

    Fix regression where categories did not switch positions.
---
 panel-plugin/window.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 23a5049..53c1e18 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -495,13 +495,13 @@ void WhiskerMenu::Window::show(const Position position)
 	if ((layout_left && !wm_settings->position_categories_alternate)
 			|| (!layout_left && wm_settings->position_categories_alternate))
 	{
-		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_panels_stack), 1);
-		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_sidebar), 2);
+		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_panels_stack), 0);
+		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_sidebar), 1);
 	}
 	else
 	{
-		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_panels_stack), 2);
-		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_sidebar), 1);
+		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_panels_stack), 1);
+		gtk_box_reorder_child(m_contents_box, GTK_WIDGET(m_sidebar), 0);
 	}
 	if (layout_left != m_layout_left)
 	{

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list