[gnome-main-menu] main-menu: Name the main menu button widgets
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-main-menu] main-menu: Name the main menu button widgets
- Date: Tue, 11 Jan 2011 11:27:38 +0000 (UTC)
commit 745445fe410616dd42724b69aca234c21237c312
Author: Vincent Untz <vuntz gnome org>
Date: Tue Jan 11 12:26:44 2011 +0100
main-menu: Name the main menu button widgets
With the move to GtkBuilder, we lost the names of the widgets, which
broke theming.
This will help with https://bugzilla.novell.com/show_bug.cgi?id=642956
main-menu/src/main-menu-ui.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/main-menu/src/main-menu-ui.c b/main-menu/src/main-menu-ui.c
index 4fad445..b6f3504 100644
--- a/main-menu/src/main-menu-ui.c
+++ b/main-menu/src/main-menu-ui.c
@@ -513,6 +513,9 @@ create_panel_button (MainMenuUI *this)
priv->panel_button_ui, "slab-main-menu-panel-button-right"));
for (i = 0; i < 4; ++i) {
+ gtk_widget_set_name (GTK_WIDGET (priv->panel_buttons [i]),
+ "slab-main-menu-panel-button");
+
g_object_set_data (
G_OBJECT (priv->panel_buttons [i]), "double-click-detector",
double_click_detector_new ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]