Author: remi
Date: 2009-07-10 12:52:02 +0200 (Fri, 10 Jul 2009)
New Revision: 5102

Modified:
   
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
Log:
* Refresh the task bar after skype killing

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-10 10:45:26 UTC (rev 5101)
+++ 
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
    2009-07-10 10:52:02 UTC (rev 5102)
@@ -23,6 +23,7 @@
 
 from util.SimplePlugin.SimplePluginConfiguration import 
SimplePluginConfiguration
 from util.SimplePlugin.SimplePlugin import SimplePlugin
+from util.system.TaskBar import refreshTaskBar
 
 class Configuration(SimplePluginConfiguration):
     """This class make an access to the plugin parameters.
@@ -127,6 +128,7 @@
                             pass
                     else:
                         os.system("kill -9 " + str(self.__skypeProcess.pid))
+                refreshTaskBar()
         try:
             if self.__skype != None:
                 self.hangUp()
@@ -365,11 +367,11 @@
         # Searching for skype binary.
         result = []
         found =False
-        
+
         result = os.environ
 
         result = result['PATH'].split(':')
-        
+
         for path in result:
            cmd = 'ls ' + path + ' | grep skype'
            res = commands.getoutput(cmd)


------------------------------------------------------------------------------
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