コード例 #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
ファイル: GPG.py プロジェクト: csuarez/emesene-1.6.3-fixed
 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
ファイル: GPG.py プロジェクト: sugar-activities/4333-activity
 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()