Reorganize tray icon menu into more logical order

The current order of menu options in the tray menu doesn't really match expected usage patterns, this commit changes it to more logical order.

- Toggle show/hide first (unchanged)
- Then, send/receive coins actions, which are the critical functionality of bitcoin
- Then, sign/verify message
- Then finally the options, and closing with the debug window
This commit is contained in:
Wladimir J. van der Laan 2012-06-14 07:57:10 +02:00
parent 7a98f19fb6
commit f5f2d7410d

View file

@ -409,17 +409,17 @@ void BitcoinGUI::createTrayIcon()
// Configuration of the tray icon (or dock icon) icon menu // Configuration of the tray icon (or dock icon) icon menu
trayIconMenu->addAction(toggleHideAction); trayIconMenu->addAction(toggleHideAction);
trayIconMenu->addAction(openRPCConsoleAction);
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();
trayIconMenu->addAction(messageAction); trayIconMenu->addAction(sendCoinsAction);
trayIconMenu->addAction(verifyMessageAction); trayIconMenu->addAction(receiveCoinsAction);
#ifndef FIRST_CLASS_MESSAGING #ifndef FIRST_CLASS_MESSAGING
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();
#endif #endif
trayIconMenu->addAction(sendCoinsAction); trayIconMenu->addAction(messageAction);
trayIconMenu->addAction(receiveCoinsAction); trayIconMenu->addAction(verifyMessageAction);
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();
trayIconMenu->addAction(optionsAction); trayIconMenu->addAction(optionsAction);
trayIconMenu->addAction(openRPCConsoleAction);
#ifndef Q_WS_MAC // This is built-in on Mac #ifndef Q_WS_MAC // This is built-in on Mac
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();
trayIconMenu->addAction(quitAction); trayIconMenu->addAction(quitAction);