|
Revision 3177, 1.2 kB
(checked in by luis, 5 years ago)
|
|
Update licence - FSF address
Command used:
find . -path '*/.svn' -prune -o -type f -print0 | xargs -0 sed -i -e 's/59 Temple Place, Suite 330/51 Franklin Street, Fifth Floor/;s/02111-1307/02110-1301/;'
Check licences: licensecheck -c -r trunk_directory/
|
| Line | |
|---|
| 1 | #!/usr/bin/env python |
|---|
| 2 | # -*- coding: utf-8 -*- |
|---|
| 3 | # |
|---|
| 4 | # Copyright (C) 2005-2006 Insecure.Com LLC. |
|---|
| 5 | # Copyright (C) 2007-2008 Adriano Monteiro Marques |
|---|
| 6 | # |
|---|
| 7 | # Author: Adriano Monteiro Marques <adriano@umitproject.org> |
|---|
| 8 | # Cleber Rodrigues <cleber.gnu@gmail.com> |
|---|
| 9 | # |
|---|
| 10 | # This library is free software; you can redistribute it and/or modify |
|---|
| 11 | # it under the terms of the GNU Lesser General Public License as published |
|---|
| 12 | # by the Free Software Foundation; either version 2.1 of the License, or |
|---|
| 13 | # (at your option) any later version. |
|---|
| 14 | # |
|---|
| 15 | # This library is distributed in the hope that it will be useful, but |
|---|
| 16 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|---|
| 17 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
|---|
| 18 | # License for more details. |
|---|
| 19 | # |
|---|
| 20 | # You should have received a copy of the GNU Lesser General Public License |
|---|
| 21 | # along with this library; if not, write to the Free Software Foundation, |
|---|
| 22 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 23 | |
|---|
| 24 | """ |
|---|
| 25 | higwidgets/higentries.py |
|---|
| 26 | |
|---|
| 27 | entries related classes |
|---|
| 28 | """ |
|---|
| 29 | |
|---|
| 30 | import gtk |
|---|
| 31 | |
|---|
| 32 | HIGTextEntry = gtk.Entry |
|---|
| 33 | |
|---|
| 34 | class HIGPasswordEntry(HIGTextEntry): |
|---|
| 35 | """ |
|---|
| 36 | An entry that masks its text |
|---|
| 37 | """ |
|---|
| 38 | def __init__(self): |
|---|
| 39 | HIGTextEntry.__init__(self) |
|---|
| 40 | self.set_visibility(False) |
|---|