From 09a21e1ddeb13725984ff7d309edb94f08268bdc Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Thu, 15 Oct 2009 11:17:58 +0200 Subject: [PATCH] Cambiato il metodo per ottenere il nome utente --- DrPrintGui/Input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DrPrintGui/Input.py b/DrPrintGui/Input.py index d7a6ac3..b008115 100644 --- a/DrPrintGui/Input.py +++ b/DrPrintGui/Input.py @@ -35,7 +35,7 @@ class UsernameField(gtk.Entry): gtk.Entry.__init__(self) - self.set_text( os.getlogin() ) + self.set_text( os.getenv("USER") ) class PasswordField(gtk.Entry): -- 2.1.4