diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-06-16 11:09:31 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-06-16 11:09:31 +0000 |
commit | 41ba6034f3a537c2605149bfd4774b338c88b9b9 (patch) | |
tree | b1c6b4bd4a6f8bee2f52c25fc01b74f2f978d4cc /vncviewer/vncviewer.cxx | |
parent | ef40a3965ae0cdb2623ff56857154445705e6d1d (diff) | |
download | tigervnc-41ba6034f3a537c2605149bfd4774b338c88b9b9.tar.gz tigervnc-41ba6034f3a537c2605149bfd4774b338c88b9b9.zip |
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
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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 } |