summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
authorJán ONDREJ <ondrejj@salstar.sk>2008-06-04 06:38:02 +0000
committerJán ONDREJ <ondrejj@salstar.sk>2008-06-04 06:38:02 +0000
commit96d7f3e7e678a8ac9919ce628c2f792d4cb57955 (patch)
tree71d6ba7f9e48f87f90a8f8d5c8937c229913d6c5 /vnc.py
parente772036e9972589c7808428c9fd00b90b2089a66 (diff)
downloadanaconda-96d7f3e7e678a8ac9919ce628c2f792d4cb57955.tar.gz
anaconda-96d7f3e7e678a8ac9919ce628c2f792d4cb57955.tar.xz
anaconda-96d7f3e7e678a8ac9919ce628c2f792d4cb57955.zip
2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)
* po/sk.po: Typo fix.
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.