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 cad4dc2ee4ba0e6696fff7f39ffdc988c49fac3d
Author: Graeme Gott <gra...@gottcode.org>
Date:   Tue Oct 24 14:58:38 2017 -0400

    Clean up showing section buttons.
---
 panel-plugin/section-button.cpp | 2 ++
 panel-plugin/window.cpp         | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/section-button.cpp b/panel-plugin/section-button.cpp
index ea217d4..8f073ea 100644
--- a/panel-plugin/section-button.cpp
+++ b/panel-plugin/section-button.cpp
@@ -79,6 +79,8 @@ SectionButton::SectionButton(const gchar* icon, const gchar* 
text) :
        m_label = gtk_label_new(text);
        gtk_box_pack_start(m_box, m_label, false, true, 0);
 
+       gtk_widget_show_all(GTK_WIDGET(m_button));
+
        reload_icon_size();
 }
 
diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 2d6f39f..c4a2cc4 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -666,7 +666,6 @@ void WhiskerMenu::Window::set_categories(const 
std::vector<SectionButton*>& cate
                gtk_box_pack_start(m_sidebar_buttons, 
GTK_WIDGET((*i)->get_button()), false, false, 0);
                g_signal_connect_slot<GtkToggleButton*>((*i)->get_button(), 
"toggled", &Window::category_toggled, this);
        }
-       gtk_widget_show_all(GTK_WIDGET(m_sidebar_buttons));
 
        show_default_page();
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to