← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2587: Revert rev. 2581

 

------------------------------------------------------------
revno: 2587
committer: iceman50 <bdcdevel@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Sun 2011-08-07 11:47:23 -0500
message:
  Revert rev. 2581
modified:
  changelog.txt
  win32/HubFrame.cpp
  win32/PrivateFrame.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 'changelog.txt'
--- changelog.txt	2011-08-03 21:03:49 +0000
+++ changelog.txt	2011-08-07 16:47:23 +0000
@@ -35,7 +35,6 @@
 * [L#804024] [ADC] Separate application and version in INF (ullner)
 * [L#696761] Modal dialog fixes (poy)
 * Link with DEP and ASLR support (thanks cologic)
-* Add "Clear chat" context menu to chat windows (thanks iceman50)
 * Store the password (if available) using "Add to favorites" (thanks iceman50)
 * Fix queries in http downloads (thanks bigmuscle)
 

=== modified file 'win32/HubFrame.cpp'
--- win32/HubFrame.cpp	2011-08-05 20:59:14 +0000
+++ win32/HubFrame.cpp	2011-08-07 16:47:23 +0000
@@ -1132,11 +1132,6 @@
 	MenuPtr menu = chat->getMenu();
 
 	menu->setTitle(escapeMenu(getText()), getParent()->getIcon(this));
-	
-	menu->appendItem(T_("Clear chat"), [this] {
-	chat->setSelection();
-	chat->replaceSelection(_T("")); 
-	});
 
 	prepareMenu(menu, UserCommand::CONTEXT_HUB, url);
 

=== modified file 'win32/PrivateFrame.cpp'
--- win32/PrivateFrame.cpp	2011-07-24 20:09:23 +0000
+++ win32/PrivateFrame.cpp	2011-08-07 16:47:23 +0000
@@ -337,11 +337,6 @@
 	MenuPtr menu = chat->getMenu();
 
 	menu->setTitle(escapeMenu(getText()), getParent()->getIcon(this));
-	
-	menu->appendItem(T_("Clear chat"), [this] {
-	chat->setSelection();
-	chat->replaceSelection(_T("")); 
-	});
 
 	prepareMenu(menu, UserCommand::CONTEXT_USER, ClientManager::getInstance()->getHubs(replyTo.getUser().user->getCID(),
 		replyTo.getUser().hint, priv));