unused variable
svn path=/trunk/; revision=7283
This commit is contained in:
parent
86d2c11b19
commit
19f2a71355
2 changed files with 2 additions and 3 deletions
|
@ -548,11 +548,10 @@ class GtkSaveGameDialog:
|
|||
class GtkPreferencesDialog:
|
||||
"""
|
||||
"""
|
||||
def __init__(self, mainUI, aiModel):
|
||||
def __init__(self, mainUI):
|
||||
"""Constructor for the preferences dialog.
|
||||
|
||||
'mainUI' is the main UI.
|
||||
'aiModel' is the AI models to use.
|
||||
"""
|
||||
# Load the UI
|
||||
self.__gui = gtkui.loadGladeFile('preferences.glade', 'preferences')
|
||||
|
|
|
@ -234,7 +234,7 @@ class GtkUI(glchess.ui.UI):
|
|||
self.__logWindow = log.LogWindow(self._gui.get_widget('log_notebook'))
|
||||
|
||||
# Make preferences dialog
|
||||
self.preferences = dialogs.GtkPreferencesDialog(self, self.__playerModel)
|
||||
self.preferences = dialogs.GtkPreferencesDialog(self)
|
||||
|
||||
# Balance space on each side of the history combo
|
||||
group = gtk.SizeGroup(gtk.SIZE_GROUP_BOTH)
|
||||
|
|
Loading…
Reference in a new issue