summaryrefslogtreecommitdiff
path: root/portato/gui/windows
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-23 23:42:57 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-23 23:42:57 +0200
commitc0b751facc2dd5ca6dc6bf15a855e4d22dd24356 (patch)
tree4011f70cd8cbb0df76218f49744d745e1f5fa7d8 /portato/gui/windows
parent771d3afbe73ffdd7df3381fb0bcde737ade2e4f8 (diff)
downloadportato-c0b751facc2dd5ca6dc6bf15a855e4d22dd24356.tar.gz
portato-c0b751facc2dd5ca6dc6bf15a855e4d22dd24356.tar.bz2
portato-c0b751facc2dd5ca6dc6bf15a855e4d22dd24356.zip
allowed to dismiss the warning dialogs for keywords/useflags
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 8e5eafb..364810d 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1357,7 +1357,8 @@ class MainWindow (Window):
"""Execute the current queue."""
if len(flags.newUseFlags) > 0:
- changed_flags_dialog(_("use flags"))
+ if not self.session.get_boolean("useflags", "dialogs"):
+ self.session.set("useflags", changed_flags_dialog(_("use flags"))[1], "dialogs")
try:
flags.write_use_flags()
except IOError, e:
@@ -1368,7 +1369,8 @@ class MainWindow (Window):
debug("new masked: %s",flags.new_masked)
debug("new unmasked: %s", flags.new_unmasked)
debug("new testing: %s", flags.newTesting)
- changed_flags_dialog(_("masking keywords"))
+ if not self.session.get_boolean("keywords", "dialogs"):
+ self.session.set("keywords", changed_flags_dialog(_("masking keywords"))[1], "dialogs")
try:
flags.write_masked()
flags.write_testing()
ef='/feed2imap-go.git/commit/go.sum?h=v1.0.0&id=00df679d432dc25dd657ab2569197cca5b29f562&follow=1'>Bump github.com/google/uuid from 1.1.2 to 1.1.4dependabot[bot]2-3/+3 2021-01-09Bump github.com/emersion/go-message from 0.14.0 to 0.14.1 (#42)dependabot[bot]2-3/+3 2020-11-28Bump github.com/emersion/go-message from 0.13.0 to 0.14.0 (#38)dependabot[bot]2-3/+9 2020-11-28Bump github.com/google/go-cmp from 0.5.2 to 0.5.4 (#37)dependabot[bot]2-3/+3 2020-11-23Fix release.ymlv0.5.2René 'Necoro' Neumann1-3/+10 2020-11-23Prepare v0.5.2René 'Necoro' Neumann3-3/+8 2020-11-20Bump github.com/gabriel-vasile/mimetype from 1.1.1 to 1.1.2dependabot[bot]2-3/+3 2020-11-04Clean dependabot.ymlRené 'Necoro' Neumann1-4/+0