From 104bc26da4e371613c8db68f90cda9913a55d027 Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Wed, 23 Feb 2011 16:47:50 +0100 Subject: [PATCH] restore hotkeys in graph viewers --- pyfpdb/GuiGraphViewer.py | 4 ++-- pyfpdb/GuiTourneyGraphViewer.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyfpdb/GuiGraphViewer.py b/pyfpdb/GuiGraphViewer.py index c33c334b..64c8ef25 100644 --- a/pyfpdb/GuiGraphViewer.py +++ b/pyfpdb/GuiGraphViewer.py @@ -82,9 +82,9 @@ class GuiGraphViewer (threading.Thread): } self.filters = Filters.Filters(self.db, self.conf, self.sql, display = filters_display) - self.filters.registerButton1Name(_("Refresh")) + self.filters.registerButton1Name(_("Refresh _Graph")) self.filters.registerButton1Callback(self.generateGraph) - self.filters.registerButton2Name(_("Export to File")) + self.filters.registerButton2Name(_("_Export to File")) self.filters.registerButton2Callback(self.exportGraph) self.mainHBox = gtk.HBox(False, 0) diff --git a/pyfpdb/GuiTourneyGraphViewer.py b/pyfpdb/GuiTourneyGraphViewer.py index a6636108..04f3b626 100644 --- a/pyfpdb/GuiTourneyGraphViewer.py +++ b/pyfpdb/GuiTourneyGraphViewer.py @@ -81,9 +81,9 @@ class GuiTourneyGraphViewer (threading.Thread): } self.filters = Filters.Filters(self.db, self.conf, self.sql, display = filters_display) - self.filters.registerButton1Name(_("Refresh")) + self.filters.registerButton1Name(_("Refresh _Graph")) self.filters.registerButton1Callback(self.generateGraph) - self.filters.registerButton2Name(_("Export to File")) + self.filters.registerButton2Name(_("_Export to File")) self.filters.registerButton2Callback(self.exportGraph) self.mainHBox = gtk.HBox(False, 0)