-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move settings into a separate module Update addon version
- Loading branch information
1 parent
d5a3332
commit 0e9ae43
Showing
3 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from collections import namedtuple | ||
|
||
Settings = namedtuple("Settings", "configKey, label, defaultValue") | ||
settingItems = [ | ||
Settings("PageLoading", _("Announce loading of pages"), "boolean(default=false)"), | ||
Settings("RefreshingPage", _("Announce page refresh"), "boolean(default=false)"), | ||
Settings("ClosingTab", _("Announce closing of tab"), "boolean(default=false)"), | ||
Settings("OpeningNewTab", _("Announce Opening of new tab"), "boolean(default=false)"), | ||
Settings("OpeningWindow", _("Announce window opening"), "boolean(default=false)"), | ||
Settings("HubDownloadsNewDownload", _("Announce starting file download"), "boolean(default=true)"), | ||
Settings("HubDownloadsCompleteState", _("Announce download completion"), "boolean(default=true)"), | ||
Settings("GoingBack", _("Announce navigating back"), "boolean(default=false)"), | ||
Settings("ToolbarButtonRemoved", _("Announce removing toolbar buttons"), "boolean(default=false)"), | ||
Settings("SearchMode", _("Announce of search mode"), "boolean(default=false)"), | ||
Settings("SearchModeAvailable", _("Announce availability of search mode"), "boolean(default=false)") | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name = MSEdgeDiscardAnnouncements | ||
summary = Microsoft Edge discard announcements | ||
version = 0.3 | ||
version = 0.4 | ||
author = """Beqa Gozalishvili <[email protected]>""" | ||
description = """Discards UIA announcements in Microsoft Edge such as page loading and refreshing, opening and closing tabs and windows.""" | ||
url = https://gozaltech.org | ||
|