[nvda-addons] Re: commit/readFeeds: norrumar: __init__.py: Enable the search edit when a feed is selected.

  • From: Noelia <nrm1977@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Mon, 5 Dec 2016 20:53:49 +0100

Hi, I request basic review of the enhancedgui branch of the readFeeds add-on.
As suggested, I will remove the add-on from nvdaaddons organization on Github. So, the development and releases are been done on my account (nvdaes):
https://github.com/nvdaes/readfeeds

If/when review pass, after NVDA 2016.4 is released, I can release 3.0-dev version.
Changes include:
- Plugin has been moved to a readFeeds subfolder as __init__.py, and there it's placed a skipTranslation.py file, to get translated messages of NVDA's core.
xml package is out of the plugins folder. This allows to omit a dummy plugin class in the __init__ of xml.
- Gui has been redesigned. Modal dialogs are used as in the Profile configuration, but file dialogs have been removed. No feeds are treated as elements of a list, not as files, that is, the extension .txt is not shown.
- Saved feeds can be searched with an edit box, viewed on a list, deleted, renamed and one of them can be set as default, so that gestures can be used to refresh, vie current, next and previous articles, and this is managed in NVDA configuration, which allow to have different default feeds in different configuration profiles.
- The Feeds dialog contains a button (which can be activated pressing enter), to show the list of articles of the selected feed and open its web page.
- To path selection dialogs are also in the menu, which has been moved to the Tools submenu, as I read that some people don't like add-ons submenus in the main NVDA menu.
Thanks.


El 05/12/2016 a las 20:41, commits-noreply@xxxxxxxxxxxxx escribió:

1 new commit in readFeeds:

https://bitbucket.org/nvdaaddonteam/readfeeds/commits/0331dea3e803/
Changeset:   0331dea3e803
Branch:      enhancedgui
User:        norrumar
Date:        2016-12-05 19:40:04+00:00
Summary:     __init__.py: Enable the search edit when a feed is selected.

Affected #:  1 file

diff --git a/addon/globalPlugins/readFeeds/__init__.py 
b/addon/globalPlugins/readFeeds/__init__.py
index 0e0354e..6057379 100644
--- a/addon/globalPlugins/readFeeds/__init__.py
+++ b/addon/globalPlugins/readFeeds/__init__.py
@@ -188,6 +188,7 @@ class FeedsDialog(wx.Dialog):
        def onFeedsListChoice(self, evt):
                self.sel = self.feedsList.Selection
                self.stringSel = self.feedsList.StringSelection
+               self.searchTextEdit.Enabled = self.sel >= 0
                self.articlesButton.Enabled = self.sel>= 0
                self.deleteButton.Enabled = self.sel >= 0
                self.renameButton.Enabled = self.sel >= 0

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

--

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:

  • » [nvda-addons] Re: commit/readFeeds: norrumar: __init__.py: Enable the search edit when a feed is selected. - Noelia