conduit r1710 - in trunk: . conduit/modules/BansheeModule conduit/modules/RhythmboxDBusModule conduit/modules/RhythmboxModule conduit/platform po



Author: jstowers
Date: Sun Aug 31 10:48:55 2008
New Revision: 1710
URL: http://svn.gnome.org/viewvc/conduit?rev=1710&view=rev

Log:
	* conduit/modules/BansheeModule/BansheeModule.py:
	* conduit/modules/RhythmboxDBusModule/RhythmboxDBusModule.py:
	* conduit/modules/RhythmboxModule/RhythmboxModule.py:
	Dont show if program not installed
	* conduit/platform/Makefile.am:
	* po/POTFILES.in: Fix build


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/conduit/modules/BansheeModule/BansheeModule.py
   trunk/conduit/modules/RhythmboxDBusModule/RhythmboxDBusModule.py
   trunk/conduit/modules/RhythmboxModule/RhythmboxModule.py
   trunk/conduit/platform/Makefile.am
   trunk/po/POTFILES.in

Modified: trunk/conduit/modules/BansheeModule/BansheeModule.py
==============================================================================
--- trunk/conduit/modules/BansheeModule/BansheeModule.py	(original)
+++ trunk/conduit/modules/BansheeModule/BansheeModule.py	Sun Aug 31 10:48:55 2008
@@ -18,9 +18,12 @@
 
 from gettext import gettext as _
 
-MODULES = {
-	"BansheeSource" : { "type": "dataprovider" }
-}
+if Utils.program_installed("banshee"):
+    MODULES = {
+    	"BansheeSource" : { "type": "dataprovider" }
+    }
+else:
+    MODULES = {}
 
 ID_IDX = 0
 NAME_IDX = 1

Modified: trunk/conduit/modules/RhythmboxDBusModule/RhythmboxDBusModule.py
==============================================================================
--- trunk/conduit/modules/RhythmboxDBusModule/RhythmboxDBusModule.py	(original)
+++ trunk/conduit/modules/RhythmboxDBusModule/RhythmboxDBusModule.py	Sun Aug 31 10:48:55 2008
@@ -26,9 +26,12 @@
 
 from gettext import gettext as _
 
-MODULES = {
-    "RhythmboxDBusSource" :              { "type": "dataprovider" },
-}
+if Utils.program_installed("rhythmbox"):
+    MODULES = {
+        "RhythmboxDBusSource" :              { "type": "dataprovider" },
+    }
+else:
+    MODULES = {}
 
 #list store column define
 NAME_IDX=0

Modified: trunk/conduit/modules/RhythmboxModule/RhythmboxModule.py
==============================================================================
--- trunk/conduit/modules/RhythmboxModule/RhythmboxModule.py	(original)
+++ trunk/conduit/modules/RhythmboxModule/RhythmboxModule.py	Sun Aug 31 10:48:55 2008
@@ -24,9 +24,12 @@
 
 from gettext import gettext as _ 
 
-MODULES = {
-    "RhythmboxSource" :              { "type": "dataprovider" },
-}
+if Utils.program_installed("rhythmbox"):
+    MODULES = {
+        "RhythmboxSource" :              { "type": "dataprovider" },
+    }
+else:
+    MODULES = {}
 
 #list store column define
 NAME_IDX=0

Modified: trunk/conduit/platform/Makefile.am
==============================================================================
--- trunk/conduit/platform/Makefile.am	(original)
+++ trunk/conduit/platform/Makefile.am	Sun Aug 31 10:48:55 2008
@@ -1,7 +1,7 @@
 conduitdir = $(pythondir)/conduit/platform
 conduit_PYTHON = \
 	__init__.py				\
-	FileGIO.py				\
+	FileGio.py				\
 	FileGnomeVfs.py			\
 	FilePython.py			\
 	SettingsGConf.py		\

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Sun Aug 31 10:48:55 2008
@@ -35,6 +35,7 @@
 conduit/modules/GoogleModule/documents-config.glade
 conduit/modules/GoogleModule/picasa-config.glade
 conduit/modules/GoogleModule/youtube-config.glade
+conduit/modules/iPodModule/iPodModule.py
 conduit/modules/iPodModule/config.glade
 conduit/modules/N800Module/N800Module.py
 conduit/modules/NetworkModule/Server.py



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