Permalink
Browse files

[pluginsort] slight fix.

  • Loading branch information...
1 parent a722961 commit 473f04cd0300d62c55ea3cb73bdd90bd1166f621 @andyblac andyblac committed Jun 30, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 pluginsort/src/plugin.py
View
@@ -235,7 +235,7 @@ def __init__(self, *args, **kwargs):
self["pluginlist"] = MyPluginList(self.list)
- self["yellow"] = Label()
+ self["key_yellow"] = Label()
self["ColorActions"] = ActionMap(["ColorActions"],
{
@@ -317,15 +317,15 @@ def updateList(self):
self["pluginlist"].list = self.list
if self.where == PluginDescriptor.WHERE_PLUGINMENU:
# TRANSLATORS: leaving this empty is encouraged to not cause any confusion (this string was taken directly from the standard PluginBrowser)
- self["red"].setText(_("Remove Plugins"))
- self["green"].setText(_("Download Plugins"))
- self["yellow"].setText(_("Sort") if not self.movemode else _("End Sort"))
+ self["key_red"].setText(_("Remove Plugins"))
+ self["key_green"].setText(_("Download Plugins"))
+ self["key_yellow"].setText(_("Sort") if not self.movemode else _("End Sort"))
self["PluginDownloadActions"].setEnabled(True)
self["ColorActions"].setEnabled(True)
else:
- self["red"].setText("")
- self["green"].setText("")
- self["yellow"].setText(_("Sort") if not self.movemode else _("End Sort"))
+ self["key_red"].setText("")
+ self["key_green"].setText("")
+ self["key_yellow"].setText(_("Sort") if not self.movemode else _("End Sort"))
self["PluginDownloadActions"].setEnabled(False)
self["ColorActions"].setEnabled(True)

0 comments on commit 473f04c

Please sign in to comment.