From 96d7f3e7e678a8ac9919ce628c2f792d4cb57955 Mon Sep 17 00:00:00 2001 From: Ján ONDREJ Date: Wed, 4 Jun 2008 06:38:02 +0000 Subject: 2008-06-04 Ján ONDREJ (via ondrejj@fedoraproject.org) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * po/sk.po: Typo fix. --- vnc.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vnc.py') 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. -- cgit