From 03970ddcaf7995c6c0b09da717c22ff066b201f4 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 10 Jul 2007 18:00:43 +0000 Subject: Remove work-around for the old tooltips code, and just set the action 2007-07-10 Christian Persch * gtk/gtkaction.c: (gtk_action_sync_tooltip), (gtk_action_set_tooltip): * gtk/gtkuimanager.c: (update_node): Remove work-around for the old tooltips code, and just set the action tooltip immediately on the proxy widget. Bug #455482. svn path=/trunk/; revision=18437 --- gtk/gtkuimanager.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gtk/gtkuimanager.c') diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index 687567d3d..95aa71da6 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -2613,16 +2613,6 @@ update_node (GtkUIManager *self, if (info->proxy) { - /* FIXME: we must re-set the tooltip, since tooltips on - * toolitems can't be set before the toolitem is added - * to the toolbar. - */ - gchar *tooltip; - - g_object_get (G_OBJECT (action), "tooltip", &tooltip, NULL); - g_object_set (G_OBJECT (action), "tooltip", tooltip, NULL); - g_free (tooltip); - g_signal_connect (info->proxy, "notify::visible", G_CALLBACK (update_smart_separators), NULL); } -- cgit v1.2.1