summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnc.py')
-rw-r--r--vnc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnc.py b/vnc.py
index 1af9752bf..8b9ee4af6 100644
--- a/vnc.py
+++ b/vnc.py
@@ -22,8 +22,8 @@
import os, sys, string
import time
from snack import *
+from constants import *
from constants_text import *
-from rhpl.translate import _, N_
import network
import isys
import product
@@ -31,6 +31,9 @@ import iutil
import socket
import subprocess
+import gettext
+_ = lambda x: gettext.ldgettext("anaconda", x)
+
import logging
log = logging.getLogger("anaconda")
@@ -207,7 +210,7 @@ class VncServer:
else:
self.log.info(_("Please manually connect your vnc client to begin the install."))
- def startServer(self, vncStartedCB=None):
+ def startServer(self):
self.log.info(_("Starting VNC..."))
# Lets call it from here for now.
@@ -270,9 +273,6 @@ class VncServer:
os.environ["DISPLAY"]=":%s" % self.display
- if vncStartedCB:
- vncStartedCB()
-
def changeVNCPasswdWindow(self):
""" Change the password to a sane parameter.