adium 2173:8b1fe48692c7: Don't unminimize a miniaturized window ...

commits at adium.im commits at adium.im
Wed May 13 04:45:36 UTC 2009


details:	http://hg.adium.im/adium/rev/8b1fe48692c7
revision:	2173:8b1fe48692c7
author:		Zachary West <zacw at adium.im>
date:		Wed May 13 00:45:16 2009 -0400

Don't unminimize a miniaturized window for a new chat message. Fixes #52.

diffstat:

 ChangeLogs/Changes.txt                                      |  1 +
 Plugins/Dual Window Interface/AIDualWindowInterfacePlugin.m |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r e3ebfad3071f -r 8b1fe48692c7 ChangeLogs/Changes.txt
--- a/ChangeLogs/Changes.txt	Wed May 13 00:29:42 2009 -0400
+++ b/ChangeLogs/Changes.txt	Wed May 13 00:45:16 2009 -0400
@@ -105,6 +105,7 @@
  * Added an option to only count mentions for group chats when badging the dock or status menu item. (#11850)
  * Fixed clicking service links with message text when the link appears in the window it would open.
  * When a new file transfer arrives which requires confirmation, the chat's unviewed content count is increased.
+ * A new message no longer unminimizes the chat window. (#52)
 
 Accounts 
  * Fixed setting a global user icon. Previously, if you didn't have an account icon set but did set a global one, you would have no icon.
diff -r e3ebfad3071f -r 8b1fe48692c7 Plugins/Dual Window Interface/AIDualWindowInterfacePlugin.m
--- a/Plugins/Dual Window Interface/AIDualWindowInterfacePlugin.m	Wed May 13 00:29:42 2009 -0400
+++ b/Plugins/Dual Window Interface/AIDualWindowInterfacePlugin.m	Wed May 13 00:45:16 2009 -0400
@@ -105,7 +105,7 @@
 	
 	//Open the container window.  We wait until after the chat has been added to the container
 	//before making it visible so window opening looks cleaner.
-	if (container && !applicationIsHidden && ![[container window] isVisible]) {
+	if (container && !applicationIsHidden && ![[container window] isMiniaturized] && ![[container window] isVisible]) {
 		[container showWindowInFrontIfAllowed:!(adium.interfaceController.activeChat)];
 	}
 	




More information about the commits mailing list