conduit r1630 - in trunk: . conduit conduit/gtkui



Author: jstowers
Date: Sat Aug  2 13:48:31 2008
New Revision: 1630
URL: http://svn.gnome.org/viewvc/conduit?rev=1630&view=rev

Log:
	* conduit/Knowledge.py:
	* conduit/Makefile.am:
	* conduit/gtkui/Makefile.am:
	* conduit/gtkui/Hints.py: Move hints --> Knowledge.


Added:
   trunk/   (props changed)
      - copied from r1628, /trunk/
   trunk/conduit/Knowledge.py
      - copied, changed from r1628, /trunk/conduit/gtkui/Hints.py
Removed:
   trunk/conduit/gtkui/Hints.py
Modified:
   trunk/ChangeLog
   trunk/conduit/Makefile.am
   trunk/conduit/gtkui/Makefile.am

Copied: trunk/conduit/Knowledge.py (from r1628, /trunk/conduit/gtkui/Hints.py)
==============================================================================
--- /trunk/conduit/gtkui/Hints.py	(original)
+++ trunk/conduit/Knowledge.py	Sat Aug  2 13:48:31 2008
@@ -1,15 +1,28 @@
-BLANK_CANVAS           = -100
-ADD_DATAPROVIDER       = -101
-RIGHT_CLICK_CONFIGURE  = -102
+HINT_BLANK_CANVAS           = -100
+HINT_ADD_DATAPROVIDER       = -101
+HINT_RIGHT_CLICK_CONFIGURE  = -102
 
 HINT_TEXT = {
-    BLANK_CANVAS:(              "What Do You Want to Synchronize?",
-                                "Drag and Drop a Data Provider on the Canvas",
-                                True),
-    ADD_DATAPROVIDER:(          "Synchronization Group Created",
-                                "Add Another Data Provider to the Group to Synchronize it",
-                                False),
-    RIGHT_CLICK_CONFIGURE:(     "You Are Now Ready to Synchronize",
-                                "Right Click on Group for Options",
-                                False)
+    HINT_BLANK_CANVAS:(             "What Do You Want to Synchronize?",
+                                    "Drag and Drop a Data Provider on the Canvas",
+                                    True),
+    HINT_ADD_DATAPROVIDER:(         "Synchronization Group Created",
+                                    "Add Another Data Provider to the Group to Synchronize it",
+                                    False),
+    HINT_RIGHT_CLICK_CONFIGURE:(    "You Are Now Ready to Synchronize",
+                                    "Right Click on Group for Options",
+                                    False)
 }
+
+PRECONFIGIRED_CONDUITS = {
+    #source,sinc                            #comment                        
+        #twoway
+    ("FolderTwoWay","FolderTwoWay"):(       "Synchronize Two Folders",      
+        True    ),
+    ("FolderTwoWay","BoxDotNetTwoWay"):(    "Backup Folder to Box.net",       
+        False   ),
+    ("FSpotDbusTwoWay","FlickrTwoWay"):(    "Synchronize Tagged F-Spot Photos to Flickr",       
+        False   )
+}
+
+

Modified: trunk/conduit/Makefile.am
==============================================================================
--- /trunk/conduit/Makefile.am	(original)
+++ trunk/conduit/Makefile.am	Sat Aug  2 13:48:31 2008
@@ -16,6 +16,7 @@
 	Exceptions.py \
 	Globals.py \
 	__init__.py \
+	Knowledge.py \
 	Logging.py \
 	Main.py \
 	MappingDB.py \

Modified: trunk/conduit/gtkui/Makefile.am
==============================================================================
--- /trunk/conduit/gtkui/Makefile.am	(original)
+++ trunk/conduit/gtkui/Makefile.am	Sat Aug  2 13:48:31 2008
@@ -3,7 +3,6 @@
 	Canvas.py \
 	ConflictResolver.py \
 	Database.py \
-	Hints.py \
 	__init__.py \
 	MsgArea.py \
 	SimpleConfigurator.py \



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