[tuxdroid-svn] r5102 - software_suite_v3/software/plugin/plugin-skype/trunk/executables
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-07-10 10:52:06
|
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)
|