restore hotkeys in graph viewers

This commit is contained in:
Steffen Schaumburg 2011-02-23 16:47:50 +01:00
parent 0a9aed891f
commit 104bc26da4
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)