]> code.delx.au - bg-scripts/commitdiff
Removed a bunch of hard coded paths (on my old machine)
authorGreg Darke <greg@tsukasa.net.au>
Mon, 7 Jul 2008 02:35:10 +0000 (12:35 +1000)
committerGreg Darke <greg@tsukasa.net.au>
Mon, 7 Jul 2008 02:35:10 +0000 (12:35 +1000)
bin/kde_randombg.py

index b2fd661db5b3e73f9802bbc6a7256e38ad9be076..15de2c87a16f821473e2bf59ce13df6d968b8ffc 100755 (executable)
@@ -26,24 +26,8 @@ class RandomBGIface (DCOPExObj):
                
                self.filelist = randombg2.AllRandomFileList()
                self.filelist.doAddPaths([
                
                self.filelist = randombg2.AllRandomFileList()
                self.filelist.doAddPaths([
-                                         '/home/greg/images_sfw/Futakoi',
-                                         '/home/greg/images_sfw/Moon Phase',
-                                         '/home/greg/images_sfw/Ouran High',
-                                         '/home/greg/images_sfw/Paniponi',
-                                         '/home/greg/images_sfw/Popotan',
-                                         '/home/greg/images_sfw/Rozen Maiden',
-                                         '/home/greg/images_sfw/Yotsuba',
-                                         '/home/greg/images_sfw/chobits',
-                                         '/home/greg/images_sfw/ichigo Mashimaro',
-                                         '/home/greg/images_sfw/カードキャプターさくら',
-                                         '/home/greg/images_sfw/涼宮ハルヒの憂鬱',
-                                         '/home/greg/images_sfw/灼眼のシャナ',
-                                         '/home/greg/images_sfw/舞-乙HiME',
-                                         '/home/greg/images_sfw/舞HiME',
-                                         '/home/greg/images_sfw/魔法先生ネギま',
-                                         '/home/greg/images_sfw/魔法少女リリカルなのは'])
-               #for path in ['/home/greg/images_sfw/Air','/home/greg/images_sfw/Azumanga Daioh','/home/greg/images_sfw/Futakoi','/home/greg/images_sfw/Karin','/home/greg/images_sfw/Love Hina','/home/greg/images_sfw/Moon Phase','/home/greg/images_sfw/Neon Genesis','/home/greg/images_sfw/Ouran High','/home/greg/images_sfw/Paniponi','/home/greg/images_sfw/Popotan','/home/greg/images_sfw/Rozen Maiden','/home/greg/images_sfw/Yotsuba','/home/greg/images_sfw/chobits','/home/greg/images_sfw/dot Hack','/home/greg/images_sfw/ichigo Mashimaro','/home/greg/images_sfw/kasimasi','/home/greg/images_sfw/カードキャププターさくら','/home/greg/images_sfw/涼宮ハルヒの憂鬱','/home/greg/images_sfw/灼眼のシャナ','/home/greg/images_sfw/舞-乙HiME','/home/greg/images_sfw/舞HiME','/home/greg/images_sfw/魔法先生ネギま','/home/greg/images_sfw/魔法少女リリカルなのは']:
-               #       self.filelist.doAddPath(path)
+                               # Add paths here
+                       ])
                if not  self.filelist.attemptCacheLoad(randombg2.CACHE_LOCATION):
                        self.filelist.doScanPaths()
                self.randombg = randombg2.RandomBG(self.filelist)
                if not  self.filelist.attemptCacheLoad(randombg2.CACHE_LOCATION):
                        self.filelist.doScanPaths()
                self.randombg = randombg2.RandomBG(self.filelist)