diff --git a/gfx/fpdb-cards.png b/gfx/fpdb-cards.png new file mode 100644 index 00000000..4d14be62 Binary files /dev/null and b/gfx/fpdb-cards.png differ diff --git a/packaging/debian/changelog b/packaging/debian/changelog index ce102bf5..ec66f4a7 100644 --- a/packaging/debian/changelog +++ b/packaging/debian/changelog @@ -1,3 +1,9 @@ +free-poker-tools (0.12-1) unstable; urgency=low + + * New release + + -- Mika Bostrom Mon, 26 Oct 2009 17:49:07 +0200 + free-poker-tools (0.11.3+git20091023) unstable; urgency=low * Snapshot release diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.py index 021d1ff2..a0f152b7 100755 --- a/pyfpdb/HUD_main.py +++ b/pyfpdb/HUD_main.py @@ -128,6 +128,9 @@ class HUD_main(object): gtk.gdk.threads_enter() try: # TODO: seriously need to decrease the scope of this block.. what are we expecting to error? + # TODO: The purpose of this try/finally block is to make darn sure that threads_leave() + # TODO: gets called. If there is an exception and threads_leave() doesn't get called we + # TODO: lock up. REB newlabel = gtk.Label("%s - %s" % (table.site, table_name)) self.vb.add(newlabel) newlabel.show() diff --git a/pyfpdb/fpdb.py b/pyfpdb/fpdb.py index ef67749d..5370bccb 100755 --- a/pyfpdb/fpdb.py +++ b/pyfpdb/fpdb.py @@ -626,7 +626,12 @@ This program is licensed under the AGPL3, see docs"""+os.sep+"agpl-3.0.txt") self.load_profile() self.statusIcon = gtk.StatusIcon() - self.statusIcon.set_from_stock(gtk.STOCK_HOME) + if os.path.exists('../gfx/fpdb-cards.png'): + self.statusIcon.set_from_file('../gfx/fpdb-cards.png') + elif os.path.exists('/usr/share/pixmaps/fpdb-cards.png'): + self.statusIcon.set_from_file('/usr/share/pixmaps/fpdb-cards.png') + else: + self.statusIcon.set_from_stock(gtk.STOCK_HOME) self.statusIcon.set_tooltip("Free Poker Database") self.statusIcon.connect('activate', self.statusicon_activate) self.statusMenu = gtk.Menu() diff --git a/setup.py b/setup.py index 0ba21bf0..a9f317c9 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from distutils.core import setup setup(name = 'fpdb', description = 'Free Poker Database', - version = '0.11.3', + version = '0.12', author = 'FPDB team', author_email = 'fpdb-main@lists.sourceforge.net', packages = ['fpdb'], @@ -15,7 +15,9 @@ setup(name = 'fpdb', ['docs/readme.txt', 'docs/release-notes.txt', 'docs/tabledesign.html', 'THANKS.txt']), ('/usr/share/pixmaps', - ['gfx/fpdb-icon.png']), + ['gfx/fpdb-icon.png', 'gfx/fpdb-icon2.png', + 'gfx/fpdb-cards.png' + ]), ('/usr/share/applications', ['files/fpdb.desktop']), ('/usr/share/python-fpdb',