Fixed i18n of pointer alert

This commit is contained in:
Daniel P. Berrange 2007-02-23 14:53:36 -05:00
parent c5b049130e
commit a0a5fc6ac4

View File

@ -124,17 +124,17 @@ class vmmConsole(gobject.GObject):
noteObj.Notify(topwin.get_title(),
0,
'',
"Pointer grabbed",
"The mouse pointer has been restricted to the virtual " +
"console window. To release the pointer press the key pair " +
"Ctrl+Alt",
_("Pointer grabbed"),
_("The mouse pointer has been restricted to the virtual " \
"console window. To release the pointer press the key pair " \
"Ctrl+Alt"),
[],
{"desktop-entry": "virt-manager",
"x": x+200, "y": y},
5 * 1000);
except Exception, e:
pass
topwin.set_title(_("Press Ctrl+Alt to release mouse.") + " " + self.title)
topwin.set_title(_("Press Ctrl+Alt to release pointer.") + " " + self.title)
def notify_ungrabbed(self, src):
topwin = self.window.get_widget("vmm-console")