Commit b9abf2e4 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Update tooltips when reconnecting toolitems. (#312173, Alex Graveley)

2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Update tooltips when
	reconnecting toolitems.  (#312173, Alex Graveley)
parent 6bd98ba0
2005-08-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Update tooltips when
reconnecting toolitems. (#312173, Alex Graveley)
* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
building against fc < 2.2.92 work. (#311839, Damien Carbery)
......
2005-08-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Update tooltips when
reconnecting toolitems. (#312173, Alex Graveley)
* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
building against fc < 2.2.92 work. (#311839, Damien Carbery)
......
2005-08-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Update tooltips when
reconnecting toolitems. (#312173, Alex Graveley)
* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
building against fc < 2.2.92 work. (#311839, Damien Carbery)
......
......@@ -2520,12 +2520,6 @@ update_node (GtkUIManager *self,
gtk_toolbar_insert (GTK_TOOLBAR (toolbar),
GTK_TOOL_ITEM (info->proxy), pos);
/* FIXME: we must trigger the notify::tooltip handler, since
* tooltips on toolitems can't be set before the toolitem
* is added to the toolbar.
*/
g_object_notify (G_OBJECT (action), "tooltip");
}
}
else
......@@ -2535,6 +2529,13 @@ update_node (GtkUIManager *self,
NULL);
gtk_action_connect_proxy (action, info->proxy);
}
/* FIXME: we must trigger the notify::tooltip handler, since
* tooltips on toolitems can't be set before the toolitem
* is added to the toolbar.
*/
g_object_notify (G_OBJECT (action), "tooltip");
g_signal_connect (info->proxy, "notify::visible",
G_CALLBACK (update_smart_separators), NULL);
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment