[Debian-live-changes] r2217 - dists/trunk/live-magic

lamby-guest at alioth.debian.org lamby-guest at alioth.debian.org
Wed Jun 20 00:47:22 UTC 2007


Author: lamby-guest
Date: 2007-06-20 00:47:22 +0000 (Wed, 20 Jun 2007)
New Revision: 2217

Modified:
   dists/trunk/live-magic/live-magic
Log:


Modified: dists/trunk/live-magic/live-magic
===================================================================
--- dists/trunk/live-magic/live-magic	2007-06-19 21:11:32 UTC (rev 2216)
+++ dists/trunk/live-magic/live-magic	2007-06-20 00:47:22 UTC (rev 2217)
@@ -36,13 +36,16 @@
 
 def glade_filename():
     suffix = "main.glade"
+
+    local = os.path.join('glade', suffix)
+    if os.path.isfile(local):
+        return local
+
     for path in ['/usr/share/live-magic']:
         path = os.path.join(path, suffix)
         if os.path.isfile(path):
             return path
 
-    return os.path.join('glade', suffix)
-
 if __name__ == "__main__":
     m = Model()
     c = Controller(m)




More information about the Debian-live-changes mailing list