summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.h
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2004-09-14 21:40:41 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2004-09-14 21:40:41 +0000
commit59207896851a3bc0cb46761d1baab0f478a65edb (patch)
tree270857b34ce9e7757ca1506b5353afb6e4a5eb6a /gtk/gtktoolitem.h
parentf67c09c994f3e4a75618fd357afeeb6a3a8b40a5 (diff)
downloadgtk+-59207896851a3bc0cb46761d1baab0f478a65edb.tar.gz
Call gtk_tool_item_rebuild_menu().
Tue Sep 14 23:20:56 2004 Søren Sandmann <sandmann@redhat.com> * gtk/gtkaction.c (connect_proxy): Call gtk_tool_item_rebuild_menu(). * gtk/gtktoolitem.c (gtk_tool_item_class_init): Update documentation for GtkToolItem::create_menu_proxy. * gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New API to make the toolbar update itself when the proxy menu item for a tool item changes. * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call gtk_tool_item_rebuild_menu here() * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Remove redundant check for need_label.
Diffstat (limited to 'gtk/gtktoolitem.h')
-rw-r--r--gtk/gtktoolitem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktoolitem.h b/gtk/gtktoolitem.h
index f6d7950d12..1293585f6d 100644
--- a/gtk/gtktoolitem.h
+++ b/gtk/gtktoolitem.h
@@ -110,6 +110,7 @@ GtkWidget * gtk_tool_item_get_proxy_menu_item (GtkToolItem *tool_item,
void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item,
const gchar *menu_item_id,
GtkWidget *menu_item);
+void gtk_tool_item_rebuild_menu (GtkToolItem *tool_item);
/* internal function */
void _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item);