pychecker fixes

svn: r3166
This commit is contained in:
Don Allingham
2004-05-13 22:45:51 +00:00
parent 07cba5f931
commit 2bd66d6b4c
33 changed files with 207 additions and 224 deletions

View File

@ -35,6 +35,7 @@ import locale
#
#-------------------------------------------------------------------------
import gtk
import gnome
#-------------------------------------------------------------------------
#
@ -59,9 +60,6 @@ from gettext import gettext as _
#-------------------------------------------------------------------------
_history_brokenFlag = 0
LISTOBJ = "s"
OBJECT = "o"
def history_broken():
global _history_brokenFlag
_history_brokenFlag = 1
@ -240,7 +238,7 @@ def delete_selected(obj,list):
#-------------------------------------------------------------------------
def add_menuitem(menu,msg,obj,func):
item = gtk.MenuItem(msg)
item.set_data(OBJECT,obj)
item.set_data('o',obj)
item.connect("activate",func)
item.show()
menu.append(item)