[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 06/08: Reposition all applications category button.

noreply at xfce.org noreply at xfce.org
Wed Jan 8 20:17:15 CET 2020


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 68c853ef85beac59e9de62624a140610f33f6c4d
Author: Graeme Gott <graeme at gottcode.org>
Date:   Wed Jan 8 05:12:48 2020 -0500

    Reposition all applications category button.
---
 panel-plugin/window.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 6ac30ea..f4bb1c4 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -696,6 +696,12 @@ void WhiskerMenu::Window::set_categories(const std::vector<SectionButton*>& cate
 		g_signal_connect_slot<GtkToggleButton*>((*i)->get_button(), "toggled", &Window::category_toggled, this);
 	}
 
+	// Position "All Applications" above divider
+	if (!categories.empty())
+	{
+		gtk_box_reorder_child(m_sidebar_buttons, GTK_WIDGET(categories[0]->get_button()), 2);
+	}
+
 	show_default_page();
 
 	check_scrollbar_needed();

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


More information about the Xfce4-commits mailing list