Commits

Erik Grinaker committed 8d3661d

don't use stock module

Comments (0)

Files changed (2)

 
 	* fixed a treeview drag/drop bug
 
+	* entry module tried to use the removed stock module
+
 2005-01-08  Erik Grinaker <erikg@codepoet.no>
 
 	* wrote more ui module unit tests (yawn)
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
 
-from revelation import stock
+from revelation import ui
 
 import copy, time
 
 
 	id		= "folder"
 	typename	= "Folder"
-	icon		= stock.STOCK_ENTRY_FOLDER
+	icon		= ui.STOCK_ENTRY_FOLDER
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "creditcard"
 	typename	= "Creditcard"
-	icon		= stock.STOCK_ENTRY_CREDITCARD
+	icon		= ui.STOCK_ENTRY_CREDITCARD
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "cryptokey"
 	typename	= "Crypto Key"
-	icon		= stock.STOCK_ENTRY_CRYPTOKEY
+	icon		= ui.STOCK_ENTRY_CRYPTOKEY
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "database"
 	typename	= "Database"
-	icon		= stock.STOCK_ENTRY_DATABASE
+	icon		= ui.STOCK_ENTRY_DATABASE
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "door"
 	typename	= "Door lock"
-	icon		= stock.STOCK_ENTRY_DOOR
+	icon		= ui.STOCK_ENTRY_DOOR
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "email"
 	typename	= "Email"
-	icon		= stock.STOCK_ENTRY_EMAIL
+	icon		= ui.STOCK_ENTRY_EMAIL
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "ftp"
 	typename	= "FTP"
-	icon		= stock.STOCK_ENTRY_FTP
+	icon		= ui.STOCK_ENTRY_FTP
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "generic"
 	typename	= "Generic"
-	icon		= stock.STOCK_ENTRY_GENERIC
+	icon		= ui.STOCK_ENTRY_GENERIC
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "phone"
 	typename	= "Phone"
-	icon		= stock.STOCK_ENTRY_PHONE
+	icon		= ui.STOCK_ENTRY_PHONE
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "shell"
 	typename	= "Shell"
-	icon		= stock.STOCK_ENTRY_SHELL
+	icon		= ui.STOCK_ENTRY_SHELL
 
 	def __init__(self):
 		Entry.__init__(self)
 
 	id		= "website"
 	typename	= "Website"
-	icon		= stock.STOCK_ENTRY_WEBSITE
+	icon		= ui.STOCK_ENTRY_WEBSITE
 
 	def __init__(self):
 		Entry.__init__(self)