I'm pleased to announce the release of gtk-mac-integration 2.1.1. * The translations for the Application Menu (the one at the left end of the menu bar with your application's name) are now managed with gettext instead of the Cocoa localization functions for better integration with other Gtk-based projects. Someone's even provided an actual human translation to Polish (thanks, Piotr Drąg)!
* There is a new function, gtkosx_application_set_about_item(GtkosxApplication*, GtkWidget*). This is intended to be used in new code instead of setting gtkosx_application_set_app_menu_item(app, about_item, 0). Old code will still work, but the new function is more expressive of the intent. * The 0-index item on the app menu is now "About app name", with it's own translatable msgid "About %s". That allows better translations, especially in languages where the localized value of "about" goes *after* the app name. See https://bugzilla.gnome.org/show_bug.cgi?id=794073. That qualifies the note above: Old code will still work as long as the menu item in gtkosx_application_set_app_menu_item( app, menu_item, 0) was in fact the About item. If it's something else it's going to get called "About X". If you call it with index 0 more than once you'll get more than one "About X" in the app menu. Regards, John Ralls _______________________________________________ Gtk-osx-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtk-osx-devel-list
