diff options
author | Christian Persch <chpe@gnome.org> | 2007-07-10 18:00:43 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-07-10 18:00:43 +0000 |
commit | 03970ddcaf7995c6c0b09da717c22ff066b201f4 (patch) | |
tree | 38b2f6f9b6dece326cd8071e6b66b3385a42bd9b /gtk/gtkuimanager.c | |
parent | 75d9d02b7266b86305051c887651c3dfbb669018 (diff) | |
download | gdk-pixbuf-03970ddcaf7995c6c0b09da717c22ff066b201f4.tar.gz |
Remove work-around for the old tooltips code, and just set the action
2007-07-10 Christian Persch <chpe@gnome.org>
* 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
Diffstat (limited to 'gtk/gtkuimanager.c')
-rw-r--r-- | gtk/gtkuimanager.c | 10 |
1 files changed, 0 insertions, 10 deletions
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); } |