gnome-games r7283 - trunk/glchess/src/lib/gtkui
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7283 - trunk/glchess/src/lib/gtkui
- Date: Mon, 28 Jan 2008 02:01:13 +0000 (GMT)
Author: rancell
Date: Mon Jan 28 02:01:13 2008
New Revision: 7283
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7283&view=rev
Log:
unused variable
Modified:
trunk/glchess/src/lib/gtkui/dialogs.py
trunk/glchess/src/lib/gtkui/gtkui.py
Modified: trunk/glchess/src/lib/gtkui/dialogs.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/dialogs.py (original)
+++ trunk/glchess/src/lib/gtkui/dialogs.py Mon Jan 28 02:01:13 2008
@@ -548,11 +548,10 @@
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')
Modified: trunk/glchess/src/lib/gtkui/gtkui.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/gtkui.py (original)
+++ trunk/glchess/src/lib/gtkui/gtkui.py Mon Jan 28 02:01:13 2008
@@ -234,7 +234,7 @@
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]