conduit r1509 - in trunk: . conduit/modules data



Author: jstowers
Date: Sat Jun  7 06:31:21 2008
New Revision: 1509
URL: http://svn.gnome.org/viewvc/conduit?rev=1509&view=rev

Log:
2008-06-07  John Stowers  <john stowers gmail com>

	* conduit/modules/SynceModule.py:
	* data/Makefile.am: New features deserve new icons.



Added:
   trunk/data/windows.png   (contents, props changed)
Modified:
   trunk/ChangeLog
   trunk/conduit/modules/SynceModule.py
   trunk/data/Makefile.am

Modified: trunk/conduit/modules/SynceModule.py
==============================================================================
--- trunk/conduit/modules/SynceModule.py	(original)
+++ trunk/conduit/modules/SynceModule.py	Sat Jun  7 06:31:21 2008
@@ -29,9 +29,10 @@
 SYNC_ITEM_NOTES     = 6
 SYNC_ITEM_TASKS     = 7
 
-TYPETONAMES = { SYNC_ITEM_CONTACTS : "Contacts",
-                SYNC_ITEM_CALENDAR   : "Calendar",
-		SYNC_ITEM_TASKS    : "Tasks"
+TYPETONAMES = { 
+    SYNC_ITEM_CONTACTS  : "Contacts",
+    SYNC_ITEM_CALENDAR  : "Calendar",
+	SYNC_ITEM_TASKS     : "Tasks"
 }
 
 CHANGE_ADDED        = 1
@@ -52,7 +53,7 @@
     def get_category(self, udi, **kwargs):
         return DataProviderCategory.DataProviderCategory(
                     "Windows Mobile",
-                    "media-memory",
+                    "windows",
                     udi)
 
     def get_dataproviders(self, udi, **kwargs):
@@ -134,7 +135,9 @@
             uid = array.array('B', guid).tostring()
             blob = array.array('B', data).tostring()
             self.objects[uid] = self._blob_to_data(uid, blob)
-        return [x for x in self.objects.iterkeys()]
+            
+        log.info("Got %s objects" % len(self.objects))
+        return self.objects.keys()
 
     def get(self, LUID):
         DataProvider.TwoWay.get(self, LUID)

Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am	(original)
+++ trunk/data/Makefile.am	Sat Jun  7 06:31:21 2008
@@ -48,7 +48,8 @@
 	flickr.png \
 	shutterfly.png \
 	youtube.png \
-	zoto.png
+	zoto.png \
+	windows.png
 
 conduitbindir = $(libdir)/conduit
 

Added: trunk/data/windows.png
==============================================================================
Binary file. No diff available.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]