erikg / Revelation

Revelation is a password manager for the GNOME desktop, released under the GNU GPL license. It stores all your accounts and passwords in a single, secure place, and gives you access to it through a user-friendly graphical interface.

Clone this repository (size: 1.8 MB): HTTPS / SSH
$ hg clone http://oss.codepoet.no/revelation
commit 262: 5411d685ecc6
parent 261: c649040647c5
branch: default
added quit button to unlock file dialog
Erik Grinaker / erikg
5 years ago

Changed (Δ727 bytes):

raw changeset »

ChangeLog (7 lines added, 0 lines removed)

NEWS (7 lines added, 0 lines removed)

TODO (4 lines added, 2 lines removed)

src/lib/dialog.py (13 lines added, 3 lines removed)

src/revelation.in (10 lines added, 1 lines removed)

Up to file-list ChangeLog:

1
1
Revelation changelog
2
2
3
---------------[ xxxx-xx-xx : 0.4.3 ]---------------
4
5
2005-03-22  Erik Grinaker <erikg@codepoet.no>
6
7
	* added quit button to unlock file dialog
8
9
3
10
---------------[ 2005-03-22 : 0.4.2 ]---------------
4
11
5
12
2005-03-22  Erik Grinaker <erikg@codepoet.no>

Up to file-list NEWS:

1
xxxx-xx-xx: Revelation 0.4.3
2
============================
3
4
New features:
5
- added quit button to unlock file dialog
6
7
1
8
2005-03-22: Revelation 0.4.2
2
9
============================
3
10

Up to file-list TODO:

1
1
0.4.x:
2
- string cleanups
3
2
- add import/export of PasswordSafe files
4
3
- add import/export of GPasMan files
5
4
- add import/export of zsafe files
6
- add import/export of gnukeyring
5
- add import/export of gnukeyring files
6
- add import/export of web confidential files
7
7
- sorting of the tree
8
- string cleanups
8
9
- gnome panel applets (account lookup, password generator etc)
9
10
  - show complete account tree as a popup-submenu of the applet
10
11
  - make library modules more independent, so only a few are imported
11
12
- run unit tests on built libraries instead of installed ones
13
- remove the small "holes" on the sides of the file icon
12
14
13
15
0.5.x:
14
16
- ensure complete UTF-8 support

Up to file-list src/lib/dialog.py:

@@ -622,7 +622,7 @@ class PasswordLock(Password):
622
622
			ui.STOCK_UNLOCK
623
623
		)
624
624
625
		self.get_button(1).destroy()
625
		self.get_button(1).set_label(gtk.STOCK_QUIT)
626
626
627
627
		self.password = password
628
628
		self.entry_password = self.add_entry("Password")
@@ -633,7 +633,12 @@ class PasswordLock(Password):
633
633
634
634
		while 1:
635
635
			try:
636
				if Password.run(self) != gtk.RESPONSE_OK:
636
				response = Password.run(self)
637
638
				if response == gtk.RESPONSE_CANCEL:
639
					raise CancelError
640
641
				elif response != gtk.RESPONSE_OK:
637
642
					continue
638
643
639
644
				elif self.entry_password.get_text() == self.password:
@@ -643,7 +648,12 @@ class PasswordLock(Password):
643
648
					Error(self, "Incorrect password", "The password you entered was not correct, please try again.").run()
644
649
645
650
			except CancelError:
646
				continue
651
				if self.get_button(1).get_property("sensitive") == True:
652
					self.destroy()
653
					raise
654
655
				else:
656
					continue
647
657
648
658
		self.destroy()
649
659

Up to file-list src/revelation.in:

@@ -1206,7 +1206,16 @@ class Revelation(ui.App):
1206
1206
			window.hide()
1207
1207
1208
1208
		# lock file
1209
		dialog.PasswordLock(self, password).run()
1209
		try:
1210
			d = dialog.PasswordLock(self, password)
1211
1212
			if self.entrystore.changed == True:
1213
				d.get_button(1).set_sensitive(False)
1214
1215
			d.run()
1216
1217
		except dialog.CancelError:
1218
			self.quit()
1210
1219
1211
1220
		# unlock the file and restore state
1212
1221
		self.tree.set_model(self.entrystore)