This commit is contained in:
steffen123 2008-08-18 19:42:30 +01:00
parent 928e7262f4
commit 999eac4019
4 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@ Everything is subject to change and especially the order will often change. Patc
alpha2 (release by 17Aug) alpha2 (release by 17Aug)
====== ======
make windows use correct language version of Appdata, e.g. Anwendungdaten
seperate and improve instructions for update seperate and improve instructions for update
update status or make a support matrix table for website update status or make a support matrix table for website
add instructions for mailing list to contacts add instructions for mailing list to contacts
@ -11,7 +12,6 @@ re-run existing regression tests
alpha3 alpha3
====== ======
export imp-callFpdbHud to .conf
make it work with postgres make it work with postgres
expand instructions for profile file expand instructions for profile file
ftp: read maxSeats ftp: read maxSeats

View File

@ -80,14 +80,15 @@ class GuiBulkImport (threading.Thread):
print "todo: implement bulk import thread" print "todo: implement bulk import thread"
#end def run #end def run
def __init__(self, db, initial_path="/work/poker-histories/wine-ps/"): def __init__(self, db, settings):
self.db=db self.db=db
self.settings=settings
self.vbox=gtk.VBox(False,1) self.vbox=gtk.VBox(False,1)
self.vbox.show() self.vbox.show()
self.chooser = gtk.FileChooserWidget() self.chooser = gtk.FileChooserWidget()
self.chooser.set_filename(initial_path) self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
#chooser.set_default_response(gtk.RESPONSE_OK) #chooser.set_default_response(gtk.RESPONSE_OK)
#self.filesel.ok_button.connect_object("clicked", gtk.Widget.destroy, self.filesel) #self.filesel.ok_button.connect_object("clicked", gtk.Widget.destroy, self.filesel)
self.vbox.add(self.chooser) self.vbox.add(self.chooser)

View File

@ -243,7 +243,7 @@ class GuiTableViewer (threading.Thread):
self.minPrint=0 self.minPrint=0
self.handCount=0 self.handCount=0
self.last_read_hand=fpdb_import.import_file_dict(self) self.last_read_hand=fpdb_import.import_file_dict(self, self.settings)
#end def table_viewer.import_clicked #end def table_viewer.import_clicked
def all_clicked(self, widget, data): def all_clicked(self, widget, data):

View File

@ -343,7 +343,7 @@ class fpdb:
def tab_bulk_import(self, widget, data): def tab_bulk_import(self, widget, data):
"""opens a tab for bulk importing""" """opens a tab for bulk importing"""
#print "start of tab_bulk_import" #print "start of tab_bulk_import"
new_import_thread=GuiBulkImport.GuiBulkImport(self.db, self.settings['bulkImport-defaultPath']) new_import_thread=GuiBulkImport.GuiBulkImport(self.db, self.settings)
self.threads.append(new_import_thread) self.threads.append(new_import_thread)
bulk_tab=new_import_thread.get_vbox() bulk_tab=new_import_thread.get_vbox()
self.add_and_display_tab(bulk_tab, "Bulk Import") self.add_and_display_tab(bulk_tab, "Bulk Import")