[nvda-addons] Re: commit/placeMarkers: 3 new changesets

  • From: Noelia <nrm1977@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sun, 23 Oct 2016 00:57:30 +0200

Hi, I'm going to release a maintenance version of placeMarkers, fixin a bug when using the specificSearchDialog and trying to exit NVDA.
You can review it.
Thanks.


El 23/10/2016 a las 0:44, commits-noreply@xxxxxxxxxxxxx escribió:

3 new commits in placeMarkers:

https://bitbucket.org/nvdaaddonteam/placemarkers/commits/9e7a507aa5ce/
Changeset:   9e7a507aa5ce
Branch:      None
User:        norrumar
Date:        2016-10-22 22:20:04+00:00
Summary:     Fixed bug when trying to exit from NVDA while the 
saveSpecificFindTextDialog is opened.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers.py 
b/addon/globalPlugins/placeMarkers.py
index a253f25..ab89727 100755
--- a/addon/globalPlugins/placeMarkers.py
+++ b/addon/globalPlugins/placeMarkers.py
@@ -350,6 +350,9 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                # Translators: message presented in input mode, when a 
keystroke of an addon script is pressed.
        script_specificSave.__doc__ = _("Saves a text string for a specific 
search.")

+       def popupSaveSpecificFindTextDialog(self):
+               gui.mainFrame._popupSettingsDialog(SpecificSearchDialog)
+
        def script_specificFind(self,gesture):
                obj=api.getFocusObject()
                if not controlTypes.STATE_MULTILINE in obj.states:
@@ -364,8 +367,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                        # Translators: message presented when there is not file 
for specific search.
                        _("File for specific search not found"))
                        return
-               GMF = gui.MainFrame()
-               GMF._popupSettingsDialog(SpecificSearchDialog)
+               wx.CallAfter(self.popupSaveSpecificFindTextDialog)
        # Translators: message presented in input mode, when a keystroke of an 
addon script is pressed.
        script_specificFind.__doc__ = _("finds a text string from the current cursor 
position for a specific document.")



https://bitbucket.org/nvdaaddonteam/placemarkers/commits/d97baff53e5e/
Changeset:   d97baff53e5e
Branch:      None
User:        norrumar
Date:        2016-10-22 22:34:40+00:00
Summary:     Fixed bug when trying to exit NVDA while the specificSearchDialog 
was open.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers.py 
b/addon/globalPlugins/placeMarkers.py
index ab89727..052aba9 100755
--- a/addon/globalPlugins/placeMarkers.py
+++ b/addon/globalPlugins/placeMarkers.py
@@ -350,7 +350,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                # Translators: message presented in input mode, when a 
keystroke of an addon script is pressed.
        script_specificSave.__doc__ = _("Saves a text string for a specific 
search.")

-       def popupSaveSpecificFindTextDialog(self):
+       def popupSpecificSearchDialog(self):
                gui.mainFrame._popupSettingsDialog(SpecificSearchDialog)

        def script_specificFind(self,gesture):
@@ -367,7 +367,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                        # Translators: message presented when there is not file 
for specific search.
                        _("File for specific search not found"))
                        return
-               wx.CallAfter(self.popupSaveSpecificFindTextDialog)
+               wx.CallAfter(self.popupSpecificSearchDialog)
        # Translators: message presented in input mode, when a keystroke of an 
addon script is pressed.
        script_specificFind.__doc__ = _("finds a text string from the current cursor 
position for a specific document.")



https://bitbucket.org/nvdaaddonteam/placemarkers/commits/09cedc1d1425/
Changeset:   09cedc1d1425
Branch:      enhancedGui
User:        norrumar
Date:        2016-10-22 22:41:02+00:00
Summary:     Bump version: 6.6.

Affected #:  1 file

diff --git a/buildVars.py b/buildVars.py
index eedeff5..21c4f8a 100755
--- a/buildVars.py
+++ b/buildVars.py
@@ -19,7 +19,7 @@ addon_info = {
        # Translators: Long description to be shown for this add-on on add-on 
information from add-ons manager
        "addon_description" : _("Add-on for setting place markers on specific 
virtual documents"),
        # version
-       "addon_version" : "6.5",
+       "addon_version" : "6.6",
        # Author(s)
        "addon_author" : u"Noelia <nrm1977@xxxxxxxxx>, Chris 
<llajta2012@xxxxxxxxx>",
        # URL for the add-on documentation support

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.

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts: