diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-12-16 12:14:23 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-12-22 06:22:26 -0500 |
commit | 6b26664c414a44e26553c0546632c9d5fff6a7b1 (patch) | |
tree | b546049f118bf56eb21712bad11190010d489fa3 /gtk/gtkmenutrackeritem.h | |
parent | 4bc3f02d51051fd7deff1a658d40a3859bb68a42 (diff) | |
download | gtk+-6b26664c414a44e26553c0546632c9d5fff6a7b1.tar.gz |
GtkMenuTracker: add hidden-when='macos-menubar'
Provide a mechanism for hiding the "Quit", "About" and "Preferences"
menu items from the normal places in a traditional menubar layout (in
the File and Edit menus) when the menu is being rendered in the Mac OS
menubar.
These items can already be found in the application menu.
With this feature, applications can now define a single menu to use in
all 'traditional' scenarios.
Use this new attribute in Bloatpad.
https://bugzilla.gnome.org/show_bug.cgi?id=741610
Diffstat (limited to 'gtk/gtkmenutrackeritem.h')
-rw-r--r-- | gtk/gtkmenutrackeritem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmenutrackeritem.h b/gtk/gtkmenutrackeritem.h index 48c6dd4891..6b4fcb576a 100644 --- a/gtk/gtkmenutrackeritem.h +++ b/gtk/gtkmenutrackeritem.h @@ -45,6 +45,7 @@ GType gtk_menu_tracker_item_role_get_type (void) G GtkMenuTrackerItem * _gtk_menu_tracker_item_new (GtkActionObservable *observable, GMenuModel *model, gint item_index, + gboolean mac_os_mode, const gchar *action_namespace, gboolean is_separator); |