commit/systrayList: 2 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Thu, 24 Oct 2019 21:53:50 +0000 (UTC)

2 new commits in systrayList:

https://bitbucket.org/nvdaaddonteam/systraylist/commits/b77a73c58702/
Changeset:   b77a73c58702
Branch:      None
User:        josephsl
Date:        2019-10-24 21:51:17+00:00
Summary:     Donations request: removed form the add-on as noted by another 
author opf this add-on

Affected #:  1 file

diff --git a/addon/installTasks.py b/addon/installTasks.py
deleted file mode 100644
index db1abe7..0000000
--- a/addon/installTasks.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import webbrowser
-import wx
-import addonHandler
-addonHandler.initTranslation()
-import gui
-import languageHandler
-
-DONATIONS_URL = 
"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=STUTSNJNVT752&lc={lang}&item_name=NVDA%20systrayList%20donations&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted".format(lang=languageHandler.getLanguage().split("_")[0].upper())
-def onInstall():
-       manifest = addonHandler.getCodeAddon().manifest
-       # Translators: The text of the dialog shown during add-on installation.
-       message = _(""" {name} is a free add-on for NVDA.
-You can make a donation to its author to support further developments of this 
add-on and other free software products.
-Do you want to donate now? (you will be redirected to the Paypal 
website).""").format(**manifest)
-       # Translators: The title of the dialog shown during add-on installation.
-       if gui.messageBox(message, caption=_("Request for Contributions to 
{name}").format(name=manifest['name']),
-               style=wx.YES_NO|wx.ICON_QUESTION) == wx.YES:
-               webbrowser.open(DONATIONS_URL)


https://bitbucket.org/nvdaaddonteam/systraylist/commits/ee6a5bd2e27f/
Changeset:   ee6a5bd2e27f
Branch:      stable
User:        josephsl
Date:        2019-10-24 21:53:31+00:00
Summary:     BuildVars: remove doc handler and install tasks from Python 
sources and internationalization (i18n) sources.

Affected #:  1 file

diff --git a/buildVars.py b/buildVars.py
index 0a5068c..27e5b65 100644
--- a/buildVars.py
+++ b/buildVars.py
@@ -39,10 +39,10 @@ import os.path
 
 # Define the python files that are the sources of your add-on.
 # You can use glob expressions here, they will be expanded.
-pythonSources = [os.path.join("addon", "globalPlugins", "systrayList", 
"*.py"), os.path.join("addon", "installTasks.py")]
+pythonSources = [os.path.join("addon", "globalPlugins", "systrayList", "*.py")]
 
 # Files that contain strings for translation. Usually your python sources
-i18nSources = pythonSources + ["buildVars.py", "docHandler.py"]
+i18nSources = pythonSources + ["buildVars.py"]
 
 # Files that will be ignored when building the nvda-addon file
 # Paths are relative to the addon directory, not to the root directory of your 
addon sources.

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

--

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: