From 0a9c2cb292efb048366f1bdd5233acedee741169 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 7 Aug 2008 12:14:53 +0100 Subject: [PATCH] git16 - fixed tv browse button size --- docs/known-bugs-and-planned-features.txt | 11 +++++------ pyfpdb/fpdb.py | 2 +- pyfpdb/table_viewer.py | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/known-bugs-and-planned-features.txt b/docs/known-bugs-and-planned-features.txt index 376f1591..d0d8d8fe 100644 --- a/docs/known-bugs-and-planned-features.txt +++ b/docs/known-bugs-and-planned-features.txt @@ -3,24 +3,23 @@ todolist (db=database, imp=importer, tv=tableviewer) before alpha ============ verify PrintPlayerFlags for one player on at least 10 hands -fix tv browse button size -optionally show single postflop agg/fold rate -seperation lines for tv fix default pathes up to sensible ones catch index error, type error, file not found error update install instructions, include how to adapt default config and where to put it split python requirements, get deep links for windows DL for everything -license info +GUI license info db+imp+tv W$SD (won $ when seeing showdown - partial win counts partially here) db+imp+tv WwSF (Won when seen flop - partial taken into account) change action_no to be total for this street rather than just for one player. change .expected.txt files accordingly. calculate 3B/4B percentage (depends on above, currently its useless) -auto-import -implement error file in importer before beta =========== +optionally show single postflop agg/fold rate +seperation lines for tv +auto-import +implement error file in importer change to use different colours according to classification. add stud, razz and tourney back to imp/tv but with less seperate codepathes in tv, select from hud table using named fields rather than the current * diff --git a/pyfpdb/fpdb.py b/pyfpdb/fpdb.py index a472368a..b3730545 100755 --- a/pyfpdb/fpdb.py +++ b/pyfpdb/fpdb.py @@ -343,7 +343,7 @@ blabla""") 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: pre-alpha, git15") + self.window.set_title("Free Poker DB - version: pre-alpha, git16") self.window.set_border_width(1) self.window.set_size_request(750,400) self.window.set_resizable(True) diff --git a/pyfpdb/table_viewer.py b/pyfpdb/table_viewer.py index 7065cafd..d50d0397 100755 --- a/pyfpdb/table_viewer.py +++ b/pyfpdb/table_viewer.py @@ -211,18 +211,18 @@ class table_viewer (threading.Thread): self.settings_hbox.show() self.filename_label = gtk.Label("Path of history file") - self.settings_hbox.add(self.filename_label) + self.settings_hbox.pack_start(self.filename_label, False, False) self.filename_label.show() self.filename_tbuffer=gtk.TextBuffer() self.filename_tbuffer.set_text("/home/sycamore/ps-history/HH20080726 Meliboea - $0.10-$0.20 - Limit Hold'em.txt") self.filename_tview=gtk.TextView(self.filename_tbuffer) - self.settings_hbox.add(self.filename_tview) + self.settings_hbox.pack_start(self.filename_tview, True, True, padding=5) self.filename_tview.show() self.browse_button=gtk.Button("Browse...") self.browse_button.connect("clicked", self.browse_clicked, "Browse clicked") - self.settings_hbox.add(self.browse_button) + self.settings_hbox.pack_start(self.browse_button, False, False) self.browse_button.show()