p112 - fix from ray that Hud sometimes didn't save positions

This commit is contained in:
steffen123 2008-10-05 02:30:16 +01:00
parent f1947bb6cb
commit f9f58f88e6
2 changed files with 3 additions and 3 deletions

4
pyfpdb/Hud.py Executable file → Normal file
View File

@ -105,8 +105,8 @@ class Hud:
loc = self.stat_windows[sw].window.get_position()
new_loc = (loc[0] - self.table.x, loc[1] - self.table.y)
new_layout.append(new_loc)
print new_layout
self.config.edit_layout(self.table.site, self.table.max, locations = new_layout)
# print new_layout
self.config.edit_layout(self.table.site, self.max, locations = new_layout)
self.config.save()
def create(self, hand, config):

View File

@ -421,7 +421,7 @@ This program is licensed under the AGPL3, see docs"""+os.sep+"agpl-3.0.txt")
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.connect("delete_event", self.delete_event)
self.window.connect("destroy", self.destroy)
self.window.set_title("Free Poker DB - version: alpha6, p111")
self.window.set_title("Free Poker DB - version: alpha6+, p112 or higher")
self.window.set_border_width(1)
self.window.set_size_request(1020,400)
self.window.set_resizable(True)