summaryrefslogtreecommitdiff
path: root/wizards/com/sun
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2013-11-23 14:22:51 +0100
committerXisco Fauli <anistenis@gmail.com>2013-11-23 17:27:15 +0100
commit2d5695bab3d62f0284669373e472c82e5e45ec2b (patch)
treeb8c21a9ce4bc8195d37e37ca6f2a938f485e997f /wizards/com/sun
parent950ee1672906870ac7dc66efc29082871f0caa02 (diff)
pyweb: remove unused code
Change-Id: Ia0d1ab92d3b23e834e3b953a8caadfdcae75d0ab
Diffstat (limited to 'wizards/com/sun')
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Events.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py b/wizards/com/sun/star/wizards/web/WWD_Events.py
index 05479837c854..af88c00160db 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -17,7 +17,6 @@
#
import traceback
import uno
-import time
from .WWD_Startup import WWD_Startup
from .WWD_General import WWD_General
@@ -25,7 +24,6 @@ from .WebWizardConst import *
from ..common.FileAccess import FileAccess
from ..common.Configuration import Configuration
from ..ui.event.ListModelBinder import ListModelBinder
-from ..ui.event.CommonListener import KeyListenerProcAdapter
from ..ui.event.Task import Task
from .data.CGDocument import CGDocument
from .data.CGSession import CGSession
@@ -61,13 +59,8 @@ class WWD_Events(WWD_Startup):
def __init__(self, xmsf):
super(WWD_Events, self).__init__(xmsf)
- c = KeyListenerProcAdapter(self.keyPressed)
- self.chkFTP.addKeyListener(c)
- self.chkLocalDir.addKeyListener(c)
- self.chkZip.addKeyListener(c)
self.currentSession = ""
self.exitOnCreate = True
- self.time = 0
self.count = 0
self.bgDialog = None
self.iconsDialog = None
@@ -101,15 +94,6 @@ class WWD_Events(WWD_Startup):
if sessionToLoad is not self.currentSession:
self.loadSession(sessionToLoad)
- def keyPressed(self, ke):
- if (ke.KeyChar == '&'):
- self.time = time.time()
- elif (ke.KeyChar == '%' and ((time.time() - self.time) < 300)):
- b = self.xDialogModel.btnWizardFinish.Enabled
- if (b):
- self.finishWizard1(False)
-
-
'''
**************
STEP 1