Пример #1
0
 def showPasswordWindow(self):
     ''' Show the password window '''
     win = EntryDialog(_('Please insert the password'),
                       '',
                       modal=gtk.TRUE,
                       visibility=False)
     win.set_title(_('What is your password?'))
     win.show()
     gtk.mainloop()
     return [win.getRet(), win.getSave()]
Пример #2
0
 def showPasswordWindow(self):
     ''' Show the password window '''
     win = EntryDialog(_('Please insert the password'), '', modal=gtk.TRUE, visibility=False)
     win.set_title(_('What is your password?'))
     win.show()
     gtk.mainloop()
     return [win.getRet(), win.getSave()]  
Пример #3
0
 def askGPGuser(self, email):
     ''' Ask for the name of the user '''
     w = EntryDialog(_('Please insert the name of the GPG user of ' + email + ' that you want to use.'), '', modal=gtk.TRUE, visibility=True)
     w.set_title(_('What is name of the GPG of ' + email))
     w.show()
     gtk.mainloop();
     return w.getRet()
Пример #4
0
 def askGPGuser(self, email):
     ''' Ask for the name of the user '''
     w = EntryDialog(_('Please insert the name of the GPG user of ' +
                       email + ' that you want to use.'),
                     '',
                     modal=gtk.TRUE,
                     visibility=True)
     w.set_title(_('What is name of the GPG of ' + email))
     w.show()
     gtk.mainloop()
     return w.getRet()