diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-12-14 21:56:26 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2014-01-17 20:32:55 -0500 |
commit | ea0ede201e1bea1ab16be414e48bb1b902c4d56a (patch) | |
tree | 89cd7f9da6a7b5e2418d01f4deb5de16e8098593 /gtk/gtkmenutrackeritem.h | |
parent | e70f506e831bddfb81b6f76e57f78f8b380d6b1d (diff) | |
download | gtk+-ea0ede201e1bea1ab16be414e48bb1b902c4d56a.tar.gz |
GtkMenuTracker: add 'special' items
Allow the possibility for items to be marked with a special attribute and
expose this via GtkTrackerMenuItem. For internal use only.
We will use this to implement the special 'Hide', 'Hide Others' and 'Show All'
items and the 'Services' submenu in the Mac OS application menu.
https://bugzilla.gnome.org/show_bug.cgi?id=720552
Diffstat (limited to 'gtk/gtkmenutrackeritem.h')
-rw-r--r-- | gtk/gtkmenutrackeritem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmenutrackeritem.h b/gtk/gtkmenutrackeritem.h index 03709d6051..2d9ff16a8d 100644 --- a/gtk/gtkmenutrackeritem.h +++ b/gtk/gtkmenutrackeritem.h @@ -48,6 +48,8 @@ GtkMenuTrackerItem * _gtk_menu_tracker_item_new (GtkActi const gchar *action_namespace, gboolean is_separator); +const gchar * gtk_menu_tracker_item_get_special (GtkMenuTrackerItem *self); + GtkActionObservable * _gtk_menu_tracker_item_get_observable (GtkMenuTrackerItem *self); gboolean gtk_menu_tracker_item_get_is_separator (GtkMenuTrackerItem *self); |