quartz menu: add a hack for application name

Desktop / GNOME / GTK - Ryan Lortie [desrt.ca] - 17 January 2014 21:37 UTC

Add a private hack to allow the insertion of the name of the application into the label of menu items.

If it appears in the label of any menu item, "%s" will be replaced with the name of the application.

We will use this for the "Hide myapp", "Quit myapp" and "About myapp" labels typically found on Mac OS programs.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

5d63ee8 quartz menu: add a hack for application name
gtk/gtkapplication-quartz-menu.c | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share