[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 389/473: Add name to panel button to allow styling.

noreply at xfce.org noreply at xfce.org
Mon Feb 16 23:59:19 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 1caf5fbfa02d032e68a96375706c53756939122e
Author: Graeme Gott <graeme at gottcode.org>
Date:   Wed Jun 25 12:05:14 2014 -0400

    Add name to panel button to allow styling.
---
 panel-plugin/plugin.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index 5d057f3..05d7cc4 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -123,6 +123,7 @@ Plugin::Plugin(XfcePanelPlugin* plugin) :
 
 	// Create toggle button
 	m_button = xfce_panel_create_toggle_button();
+	gtk_widget_set_name(m_button, "whiskermenu-button");
 	gtk_button_set_relief(GTK_BUTTON(m_button), GTK_RELIEF_NONE);
 	gtk_button_set_focus_on_click(GTK_BUTTON(m_button), false);
 	g_signal_connect_slot(m_button, "button-press-event", &Plugin::button_clicked, this);

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


More information about the Xfce4-commits mailing list