From fbae2b3db947b178c7c75f2a7a660a215c43ca9c Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Thu, 10 Oct 2019 14:59:27 -0400 Subject: [PATCH] AddonManager: tooltips and minor code formatting --- src/Mod/AddonManager/AddonManagerOptions.ui | 7 +++++-- src/Mod/AddonManager/addonmanager_workers.py | 18 +++++++++++++----- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/Mod/AddonManager/AddonManagerOptions.ui b/src/Mod/AddonManager/AddonManagerOptions.ui index efebdf3aa1..b2ed796531 100644 --- a/src/Mod/AddonManager/AddonManagerOptions.ui +++ b/src/Mod/AddonManager/AddonManagerOptions.ui @@ -17,7 +17,9 @@ - If this option is checked, when launching the Addon Manager, installed addons will be checked for available updates (requires the python-git package installed on your system) + If this option is selected, when launching the Addon Manager, +installed addons will be checked for available updates +(this requires the python-git package installed on your system) Automatically check for updates at start (requires python-git) @@ -34,7 +36,8 @@ - You can use this window to specify additional addon repositories to be scanned for available addons + You can use this window to specify additional addon repositories +sto be scanned for available addons diff --git a/src/Mod/AddonManager/addonmanager_workers.py b/src/Mod/AddonManager/addonmanager_workers.py index 94df9873e8..5ef8233fc1 100644 --- a/src/Mod/AddonManager/addonmanager_workers.py +++ b/src/Mod/AddonManager/addonmanager_workers.py @@ -39,16 +39,24 @@ from addonmanager_macro import Macro # \ingroup ADDONMANAGER # \brief Multithread workers for the addon manager -MACROS_BLACKLIST = ["BOLTS","WorkFeatures","how to install","PartsLibrary","FCGear"] -OBSOLETE = ["assembly2","drawing_dimensioning","cura_engine"] # These addons will print an additional message informing the user +# Blacklisted addons +MACROS_BLACKLIST = ["BOLTS", + "WorkFeatures", + "how to install", + "PartsLibrary", + "FCGear"] + +# These addons will print an additional message informing the user +OBSOLETE = ["assembly2", + "drawing_dimensioning", + "cura_engine"] + NOGIT = False # for debugging purposes, set this to True to always use http downloads - """Multithread workers for the Addon Manager""" - class UpdateWorker(QtCore.QThread): """This worker updates the list of available workbenches""" @@ -278,7 +286,7 @@ class FillMacroListWorker(QtCore.QThread): """Retrieve macros from the wiki Read the wiki and emit a signal for each found macro. - Reads only the page https://www.freecadweb.org/wiki/Macros_recipes. + Reads only the page https://www.freecadweb.org/wiki/Macros_recipes """ self.info_label_signal.emit("Downloading list of macros from the FreeCAD wiki...")