← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2213: change menu order

 

------------------------------------------------------------
revno: 2213
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Wed 2010-08-25 21:00:50 +0200
message:
  change menu order
modified:
  win32/MainWindow.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/MainWindow.cpp'
--- win32/MainWindow.cpp	2010-08-25 12:54:08 +0000
+++ win32/MainWindow.cpp	2010-08-25 19:00:50 +0000
@@ -284,8 +284,8 @@
 	{
 		MenuPtr window = mainMenu->appendPopup(T_("&Window"));
 
+		window->appendItem(T_("Close all hubs"), std::bind(&HubFrame::closeAll, true), WinUtil::menuIcon(IDI_HUB));
 		window->appendItem(T_("Close disconnected hubs"), std::bind(&HubFrame::closeAll, false), WinUtil::menuIcon(IDI_HUB_OFF));
-		window->appendItem(T_("Close all hubs"), std::bind(&HubFrame::closeAll, true), WinUtil::menuIcon(IDI_HUB));
 		window->appendItem(T_("Close all hubs of a favorite group"), std::bind(&MainWindow::handleCloseFavGroup, this, false), WinUtil::menuIcon(IDI_FAVORITE_HUBS));
 		window->appendItem(T_("Close hubs not in a favorite group"), std::bind(&MainWindow::handleCloseFavGroup, this, true), WinUtil::menuIcon(IDI_FAVORITE_HUBS));
 		window->appendSeparator();