Author: jerome
Date: 2009-07-09 12:00:43 +0200 (Thu, 09 Jul 2009)
New Revision: 5097

Modified:
   
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
Log:
* Fixed a missing import that was making this plugin not working on Linux.

Modified: 
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
===================================================================
--- 
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
    2009-07-09 08:27:28 UTC (rev 5096)
+++ 
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
    2009-07-09 10:00:43 UTC (rev 5097)
@@ -17,6 +17,7 @@
 import threading
 import subprocess
 import Skype4Py
+import commands
 
 sys.path.append(os.environ['TUXDROID_SERVER_PYTHON_UTIL'])
 
@@ -380,6 +381,14 @@
             #start skype
             self.__skypeProcess = subprocess.Popen("skype", stdin = 
subprocess.PIPE,
                 stdout = subprocess.PIPE)
+            while True:
+               try:
+                   buffer = self.__skypeProcess.stdout.read(100)
+               except:
+                   buffer = ""
+               if len(buffer) == 0:
+                   break
+            self.__activeMain = True
         else:
             self.throwMessage("Sorry, it looks like skeyepe is not installed. 
Please go to the skeyepe website to download the software.")
             self.__activeMain = False


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to