diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2007-03-15 19:33:57 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@src.gnome.org> | 2007-03-15 19:33:57 +0000 |
commit | ccf49466a64602051ddffca43488b77576abeab2 (patch) | |
tree | 2695b60d9ff5e30516ee4950860bd3ac0a778254 /gtk/gtk.symbols | |
parent | 0b1c9b7cc26d293477a6823a40d3e1feebbd6df7 (diff) | |
download | gtk+-ccf49466a64602051ddffca43488b77576abeab2.tar.gz |
Add GtkActionClass::get_submenu() vfunc: actions providing a menu item or
2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
actions providing a menu item or a menu tool button with already
a submenu should return the GtkMenu widget.
* gtk/gtkuimanager.c (update_node): If an action provides its
own submenu, use it instead of adding an empty one
* gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
implementing the GtkRecentChooser interface for displaying the
list of recently used files into menus and toolbars generated
using GtkUIManager. (#338843)
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols: Add GtkRecentAction API to the build.
* tests/testactions.c: Exercise the GtkRecentAction API.
svn path=/trunk/; revision=17524
Diffstat (limited to 'gtk/gtk.symbols')
-rw-r--r-- | gtk/gtk.symbols | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index 1eedabd27b..f66898460a 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -3030,6 +3030,16 @@ gtk_rc_style_unref #endif #endif +#if IN_HEADER(__GTK_RECENT_ACTION_H__) +#if IN_FILE(__GTK_RECENT_ACTION_C__) +gtk_recent_action_get_type G_GNUC_CONST +gtk_recent_action_new +gtk_recent_action_new_for_manager +gtk_recent_action_set_show_numbers +gtk_recent_action_get_show_numbers +#endif +#endif + #if IN_HEADER(__GTK_RECENT_CHOOSER_H__) #if IN_FILE(__GTK_RECENT_CHOOSER_C__) gtk_recent_chooser_set_show_private |