Use new plugin loading mechanism introduced in Koo r508.

This commit is contained in:
Albert Cervera i Areny 2009-01-10 16:57:24 +01:00
parent fe3f8c1cb8
commit 49e5d3d40c
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ from NanScan.ScanDialog import *
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.uic import *
from Koo.Plugins import Plugins
def scan(datas):
s = ScanDialog()
@ -58,3 +59,4 @@ class RpcSaveThreaded(SaveThreaded):
if id:
self.error = False
Plugins.register( 'scanner', 'nan.document', _('Scan Documents'), scan )