/PluginUtils/_PluginWindows.py : allow to translate reload button

svn: r10467
This commit is contained in:
Jérôme Rapinat 2008-04-04 16:39:03 +00:00
parent a3d9f4df6a
commit 0c1ec175f6

View File

@ -93,7 +93,7 @@ class PluginStatus(ManagedWindow.ManagedWindow):
if __debug__: if __debug__:
# Only show the "Reload" button when in debug mode # Only show the "Reload" button when in debug mode
# (without -O on the command line) # (without -O on the command line)
self.__reload_btn = gtk.Button("Reload") self.__reload_btn = gtk.Button(_("Reload"))
self.window.action_area.add(self.__reload_btn) self.window.action_area.add(self.__reload_btn)
self.__reload_btn.connect('clicked', self.__reload) self.__reload_btn.connect('clicked', self.__reload)