gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] fenfire/org/fenfire/bin fenpdf10.py


From: Matti Katila
Subject: [Gzz-commits] fenfire/org/fenfire/bin fenpdf10.py
Date: Wed, 13 Aug 2003 02:57:25 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/13 02:57:25

Modified files:
        org/fenfire/bin: fenpdf10.py 

Log message:
        s/,/%/, clean a bit

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/bin/fenpdf10.py.diff?tr1=1.29&tr2=1.30&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/bin/fenpdf10.py
diff -u fenfire/org/fenfire/bin/fenpdf10.py:1.29 
fenfire/org/fenfire/bin/fenpdf10.py:1.30
--- fenfire/org/fenfire/bin/fenpdf10.py:1.29    Wed Aug 13 02:47:46 2003
+++ fenfire/org/fenfire/bin/fenpdf10.py Wed Aug 13 02:57:25 2003
@@ -118,10 +118,10 @@
 
 # automatic system for previous
 if os.path.isfile(FILE):
-    print 'Loading the RDF graph from the file %s', FILE
+    print 'Loading the RDF graph from the file %s.'% FILE
     do_load_graph = 1
 else:
-    print 'Creating a new RDF graph'
+    print 'Creating a new RDF graph.'
     do_load_graph = 0
 
 
@@ -206,9 +206,6 @@
     ppAct.assocNotes(noteC1, 1, noteB3)
     ppAct.assocNotes(noteA4, 1, noteC2)
     
-# search a note for accursing one.
-it = fen.graph.findN_11X_Iter(paperA, ff.vocab.CANVAS2D.contains)
-noteA1 = it.next()
 
 spanImageFactory = ff.spanimages.gl.DefaultSpanImageFactory(
     ff.spanimages.gl.PageScrollBlockImager())
@@ -233,7 +230,10 @@
 context = Context(w, fen, ppAct, nodeview, spanImageFactory)
 nodeview.setContext(context)
 textnodeview.setContext(context)
-context.states.cursor.setAccursed(noteA1)
+
+# search a note for accursing one.
+it = fen.graph.findN_11X_Iter(paperA, ff.vocab.CANVAS2D.contains)
+context.states.cursor.setAccursed(it.next())
 context.states.cursor.setCursorOffset(3)
 context.ppView = irregu
 context.pageView = None




reply via email to

[Prev in Thread] Current Thread [Next in Thread]