Author: jerome
Date: 2009-03-13 16:26:18 +0100 (Fri, 13 Mar 2009)
New Revision: 4059
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
Log:
*Updated the way to get the contacts list
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
2009-03-13 15:02:49 UTC (rev 4058)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
2009-03-13 15:26:18 UTC (rev 4059)
@@ -90,7 +90,7 @@
if "tgp_quitSkype" in os.environ:
logout = os.environ["tgp_quitSkype"]
if "tgp_quitGadget" in os.environ:
- quitGadget = os.envron["tgp_quitGadget"]
+ quitGadget = os.environ["tgp_quitGadget"]
if "tgp_startupStatus" in os.environ:
status = os.environ["tgp_startupStatus"]
@@ -378,6 +378,12 @@
if len(user.FullName.encode("UTF-8")) > 0:
self.__contactsDict[user.FullName.encode("UTF-8").replace(" ", "_")] =
user.Handle.encode("UTF-8")
self.__contactsList.append(user.FullName.encode("UTF-8").replace(" ", "_"))
+ elif len(user.DisplayName.encode("UTF-8")) > 0:
+
self.__contactsDict[user.DisplayName.encode("UTF-8").replace(" ", "_")] =
user.Handle.encode("UTF-8")
+
self.__contactsList.append(user.DisplayName.encode("UTF-8").replace(" ", "_"))
+ else:
+ self.__contactsDict[user.Handle.encode("UTF-8").replace("
", "_")] = user.Handle.encode("UTF-8")
+
self.__contactsList.append(user.Handle.encode("UTF-8").replace(" ", "_"))
if len(self.__contactsDict) > 0:
print(self.__contactsDict)
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn