VirtualBox

Changeset 2346 in vbox


Ignore:
Timestamp:
Apr 26, 2007 1:17:25 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20736
Message:

Get the right menu selectef for 'Apple->Preferences' (VM Settings is wrong, Global Settings right).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r2319 r2346  
    10211021    fileDiskMgrAction->setStatusTip (tr ("Display the Virtual Disk Manager dialog"));
    10221022
     1023#ifdef Q_WS_MAC
     1024    /*
     1025     * Macification: Getting the right menu as application Preference menu item.
     1026     *
     1027     * QMenuBar::isCommand() in qmenubar_mac.cpp doesn't recognize "Setting"(s)
     1028     * unless it's in the first position. So, we use the Mac term here to make
     1029     * sure we get picked instead of the VM settings.
     1030     *
     1031     * Now, since both QMenuBar and we translate these strings, it's going to
     1032     * be really interesting to see how this plays on non-english systems...
     1033     */
     1034    fileSettingsAction->setMenuText (tr ("Preference..."));
     1035#else
    10231036    fileSettingsAction->setMenuText (tr ("&Global Settings..."));
     1037#endif
    10241038    fileSettingsAction->setAccel (tr ("Ctrl+G"));
    10251039    fileSettingsAction->setStatusTip (tr ("Display the global settings dialog"));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette