[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fenfire-dev] adding PDFs fail with main arch
From: |
Matti Katila |
Subject: |
Re: [Fenfire-dev] adding PDFs fail with main arch |
Date: |
Mon, 8 Dec 2003 22:43:13 +0200 (EET) |
On Mon, 8 Dec 2003, Asko Soukka wrote:
> I noticed today that I cannot add new PDF/PS files with the new main
> arch Libvob & FenPDF.
Yes, there is no test yet..
This patch fixes the problem:
--- orig/org/fenfire/fenpdf/actions/keyboard.py
+++ mod/org/fenfire/fenpdf/actions/keyboard.py
@@ -184,7 +184,7 @@
p('sc: ',scrollBlocks)
if not len(scrollBlocks): return
if not main:
- main = self.fenPDF.views.getBuoyManager().singles[0].mainNode
+ main =
self.fenPDF.views.getBuoyManager().getActiveBuoyManager().getMainNode()
if isinstance(main.getPlane(), alph.PageScrollBlock):
self.moveTo(None, scrollBlocks[0])
return
-Matti