[gnome-panel/gtk3] panel-action-button: Port to GtkStyleContext



commit 3507d3ca74233d88f83df5f3f43a52ae2bc306d3
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri Jan 21 15:12:47 2011 +0100

    panel-action-button: Port to GtkStyleContext

 gnome-panel/panel-action-button.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/panel-action-button.c b/gnome-panel/panel-action-button.c
index 26bf715..90a5af0 100644
--- a/gnome-panel/panel-action-button.c
+++ b/gnome-panel/panel-action-button.c
@@ -680,7 +680,7 @@ panel_action_button_connect_to_gconf (PanelActionButton *button)
 }
 
 static void
-panel_action_button_style_set (PanelActionButton *button)
+panel_action_button_style_update (PanelActionButton *button)
 {
 	if (actions [button->priv->type].icon_name != NULL)
 		button_widget_set_icon_name (BUTTON_WIDGET (button), actions [button->priv->type].icon_name);
@@ -733,8 +733,8 @@ panel_action_button_load (PanelActionButtonType  type,
 
 	panel_action_button_connect_to_gconf (button);
 
-	g_signal_connect (button, "style-set",
-			  G_CALLBACK (panel_action_button_style_set), NULL);
+	g_signal_connect (button, "style-update",
+			  G_CALLBACK (panel_action_button_style_update), NULL);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]