commit/placeMarkers: norrumar: Merge pull request #1 from nvdaaddons/enhancedGui

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sat, 22 Oct 2016 23:10:08 -0000

1 new commit in placeMarkers:

https://bitbucket.org/nvdaaddonteam/placemarkers/commits/c63843b03ccb/
Changeset:   c63843b03ccb
Branch:      master
User:        norrumar
Date:        2016-10-22 22:59:37+00:00
Summary:     Merge pull request #1 from nvdaaddons/enhancedGui

Enhanced gui
Affected #:  2 files

diff --git a/addon/globalPlugins/placeMarkers.py 
b/addon/globalPlugins/placeMarkers.py
index a253f25..052aba9 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 popupSpecificSearchDialog(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.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.")
 

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.

Other related posts:

  • » commit/placeMarkers: norrumar: Merge pull request #1 from nvdaaddons/enhancedGui - commits-noreply