From: Pierre Ossman Date: Thu, 16 Jun 2011 11:09:31 +0000 (+0000) Subject: Translate the default menu items we get on OS X. X-Git-Tag: v1.1.90~284 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41ba6034f3a537c2605149bfd4774b338c88b9b9;p=tigervnc.git Translate the default menu items we get on OS X. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4502 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 8c145a85..aa742ce2 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -124,6 +124,14 @@ static void init_fltk() fl_close = _("Close"); #ifdef __APPLE__ + Fl_Mac_App_Menu::about = _("About "); + Fl_Mac_App_Menu::print = ""; // Don't want the print item + Fl_Mac_App_Menu::services = _("Services"); + Fl_Mac_App_Menu::hide = _("Hide "); + Fl_Mac_App_Menu::hide_others = _("Hide Others"); + Fl_Mac_App_Menu::show = _("Show All"); + Fl_Mac_App_Menu::quit = _("Quit "); + fl_mac_set_about(about_callback, NULL); #endif }