commit/placeMarkers: norrumar: Improved readability in action combo box, sugested by Derek Riemer.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Tue, 09 Aug 2016 05:40:16 -0000

1 new commit in placeMarkers:

https://bitbucket.org/nvdaaddonteam/placemarkers/commits/8f4c46466f74/
Changeset:   8f4c46466f74
Branch:      master
User:        norrumar
Date:        2016-08-09 05:40:02+00:00
Summary:     Improved readability in action combo box, sugested by Derek Riemer.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers.py 
b/addon/globalPlugins/placeMarkers.py
index 5395fe0..5f6140c 100755
--- a/addon/globalPlugins/placeMarkers.py
+++ b/addon/globalPlugins/placeMarkers.py
@@ -622,13 +622,13 @@ class SpecificSearchDialog(SettingsDialog):
                searchUpAction = _("Search up")
                # Translators: the name of an action presented in specific 
search dialog.
                deleteAction = _("Delete")
-               actions = [searchDownAction, searchUpAction, deleteAction]
+               actions = (searchDownAction, searchUpAction, deleteAction)
                # Translators: The label for a setting in specific search to 
select an action.
                actionsListLabel=wx.StaticText(self,-1,label=_("&Actions to 
choose:"))
                actionsListSizer.Add(actionsListLabel)
                actionsListID=wx.NewId()
                # Translators: A combo box to choose an action.
-               self.actionsList=wx.Choice(self,actionsListID, name=_("Select 
an action to perform:"), choices=[name for name in actions])
+               self.actionsList=wx.Choice(self,actionsListID, name=_("Select 
an action to perform:"), choices=actions)
                self.actionsList.SetSelection(0)
                actionsListSizer.Add(self.actionsList)
                settingsSizer.Add(actionsListSizer,border=10,flag=wx.BOTTOM)

Repository URL: https://bitbucket.org/nvdaaddonteam/placemarkers/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/placeMarkers: norrumar: Improved readability in action combo box, sugested by Derek Riemer. - commits-noreply