From 487330fc5787072a6d85e80c1b0b21d6dcb21b47 Mon Sep 17 00:00:00 2001 From: lastpoet Date: Sat, 9 Oct 2010 16:59:01 +0100 Subject: [PATCH] remove tooltips on headers --- pyfpdb/GuiRingPlayerStats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/GuiRingPlayerStats.py b/pyfpdb/GuiRingPlayerStats.py index 3d1bcb21..0f374a77 100644 --- a/pyfpdb/GuiRingPlayerStats.py +++ b/pyfpdb/GuiRingPlayerStats.py @@ -85,9 +85,9 @@ class DemoTips(TreeViewTooltips): def get_tooltip(self, view, column, path): model = view.get_model() cards = model[path][0] - title=column.get_title() - display='%s\n%s' % (title,onlinehelp[title]) + if (title == 'Hand' or title == 'Game'): display='' #no tooltips on headers + else: display='%s for %s\n%s' % (title,cards,onlinehelp[title]) return (display) def location(self, x, y, w, h):