Author: jerome
Date: 2009-12-08 12:01:28 +0100 (Tue, 08 Dec 2009)
New Revision: 5951

Modified:
   
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py
Log:
* Do not start client if daemon mode ( added start client var ).

Modified: 
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py
===================================================================
--- 
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py
      2009-12-08 11:00:52 UTC (rev 5950)
+++ 
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py
      2009-12-08 11:01:28 UTC (rev 5951)
@@ -143,7 +143,7 @@
     
     
     
-    def __start__(self):
+    def __start__(self, StartClient=True):
         '''
         Start connection between client-application
         '''
@@ -154,7 +154,7 @@
             self.skypeClient = SkypeClient(SkypeClient.WINDOWS)
         
         #If skype client is not running start it and wait started to connect 
api
-        if not self.skypeClient.isRunning():
+        if ( not self.skypeClient.isRunning() ) and StartClient:
             self.startedByConnector = True
             self.skypeClient.OnSkypeStarted = self.__connect_all__
             self.skypeClient.start()
@@ -181,11 +181,11 @@
 ###################################################
 #######          User functions    ################    
      
-    def start(self):
+    def start(self, StartSkype=True):
         '''
         Start connection.
         '''
-        self.__start__()
+        self.__start__(StartClient = StartSkype)
 
     
     def stop(self, KillClient=False):


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Tux-droid-svn mailing list
Tux-droid-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to