adium 2265:f42f9edb7810: When dragging text or files into a chat...
commits at adium.im
commits at adium.im
Thu May 21 18:13:16 UTC 2009
details: http://hg.adium.im/adium/rev/f42f9edb7810
revision: 2265:f42f9edb7810
author: Zachary West <zacw at adium.im>
date: Thu May 21 14:13:12 2009 -0400
When dragging text or files into a chat, make it active and bring Adium to front. Refs #12089.
diffstat:
Source/AIListController.m | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 68ccd214c360 -r f42f9edb7810 Source/AIListController.m
--- a/Source/AIListController.m Thu May 21 14:10:00 2009 -0400
+++ b/Source/AIListController.m Thu May 21 14:13:12 2009 -0400
@@ -801,6 +801,10 @@
onPreferredAccount:YES];
[chat.chatContainer.messageViewController addToTextEntryView:mutableString];
+
+ [adium.interfaceController setActiveChat:chat];
+ [NSApp activateIgnoringOtherApps:YES];
+ [NSApp arrangeInFront:nil];
} else {
AILogWithSignature(@"No contact available to receive files");
@@ -833,6 +837,10 @@
onPreferredAccount:YES];
[chat.chatContainer.messageViewController addToTextEntryView:messageAttributedString];
+
+ [adium.interfaceController setActiveChat:chat];
+ [NSApp activateIgnoringOtherApps:YES];
+ [NSApp arrangeInFront:nil];
}
else {
success = NO;
More information about the commits
mailing list