[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindowManager.java

yanas at dev.java.net yanas at dev.java.net
Tue Apr 24 14:25:49 CEST 2007


User: yanas   
Date: 2007-04-24 12:25:49+0000
Log:
 fix open multi user chat

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/chat/
==============================================================================

File [changed]: ChatWindowManager.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindowManager.java?r1=1.4&r2=1.5
Delta lines:  +10 -0
--------------------
--- ChatWindowManager.java	2007-04-17 11:30:45+0000	1.4
+++ ChatWindowManager.java	2007-04-24 12:25:47+0000	1.5
@@ -478,7 +478,17 @@
         ChatWindow chatWindow;
 
         if(Constants.TABBED_CHAT_WINDOW)
+        {
+            if(this.chatWindow == null)
+            {
+                this.chatWindow = new ChatWindow(mainFrame);
+                
+                GuiActivator.getUIService()
+                    .registerExportedWindow(this.chatWindow);
+            }
+            
             chatWindow = this.chatWindow;
+        }
         else
         {
             chatWindow = new ChatWindow(mainFrame);




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list