From 41ba6034f3a537c2605149bfd4774b338c88b9b9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 16 Jun 2011 11:09:31 +0000 Subject: 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 --- vncviewer/vncviewer.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 } -- cgit v1.2.3