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

gEDA-cvs: branch: master updated (58a300e237bc8f93571b3e47821ee739f65a2cc3)



The branch, master has been updated
       via  58a300e237bc8f93571b3e47821ee739f65a2cc3 (commit)
       via  a6bbacbb36958ef06c3d6b7fb5c7c67d651d89d3 (commit)
      from  96f0fea619b50cc1da799c60ffac2f35e6848d76 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 lib/xgsch2pcb/gui.py        |    4 +++-
 lib/xgsch2pcb/pcbmanager.py |    6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)


=================
 Commit Messages
=================

commit 58a300e237bc8f93571b3e47821ee739f65a2cc3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 23 22:06:05 2007 +0100

    Save the layout filename in the .gsch2pcb file with a relative path.

:100644 100644 bbd935f... a070d4a... M	lib/xgsch2pcb/gui.py

commit a6bbacbb36958ef06c3d6b7fb5c7c67d651d89d3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 23 22:06:04 2007 +0100

    Comment out debug prints when querying for PCB instances via D-Bus.

:100644 100644 a20a1bf... b7c7ef2... M	lib/xgsch2pcb/pcbmanager.py

=========
 Changes
=========

commit 58a300e237bc8f93571b3e47821ee739f65a2cc3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 23 22:06:05 2007 +0100

    Save the layout filename in the .gsch2pcb file with a relative path.

diff --git a/lib/xgsch2pcb/gui.py b/lib/xgsch2pcb/gui.py
index bbd935f..a070d4a 100644
--- a/lib/xgsch2pcb/gui.py
+++ b/lib/xgsch2pcb/gui.py
@@ -644,7 +644,9 @@ class MonitorWindow(gtk.Window):
             if dirname:
                 os.chdir(dirname)
 
-            self.project = Gsch2PCBProject(filename)
+            basename = os.path.basename(filename)
+
+            self.project = Gsch2PCBProject(basename)
             self.project.connect('dirty-flag-changed',
                                  self.event_project_dirty_changed)
             self.project.connect('page-added',

commit a6bbacbb36958ef06c3d6b7fb5c7c67d651d89d3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 23 22:06:04 2007 +0100

    Comment out debug prints when querying for PCB instances via D-Bus.

diff --git a/lib/xgsch2pcb/pcbmanager.py b/lib/xgsch2pcb/pcbmanager.py
index a20a1bf..b7c7ef2 100644
--- a/lib/xgsch2pcb/pcbmanager.py
+++ b/lib/xgsch2pcb/pcbmanager.py
@@ -101,13 +101,13 @@ class PCBManager( gobject.GObject ):
         try:
             pcb_instances = self.dbus_iface.ListQueuedOwners('org.seul.geda.pcb')
         except:
-            print "is_layout_open(): DEBUG: Couldn't find any PCB instances"
+            #print "is_layout_open(): DEBUG: Couldn't find any PCB instances"
             return False
         
         found_our_file = False
         
         for pcb in pcb_instances:
-            print 'is_layout_open(): DEBUG: Found PCB instance at unique name ' + pcb
+            #print 'is_layout_open(): DEBUG: Found PCB instance at unique name ' + pcb
 
             pcb_obj = self.session_bus.get_object(pcb, '/org/seul/geda/pcb')
             pcb_iface = dbus.Interface(pcb_obj, 'org.seul.geda.pcb')
@@ -120,7 +120,7 @@ class PCBManager( gobject.GObject ):
                 ohdear = True
 
             if not ohdear:
-                print 'is_layout_open(): DEBUG: Filename is ' + filename
+                #print 'is_layout_open(): DEBUG: Filename is ' + filename
     
                 if filename == os.path.abspath( self.output_name ) + ".pcb":
                     found_our_file = True




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs