diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-06-23 23:42:57 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-06-23 23:42:57 +0200 |
commit | c0b751facc2dd5ca6dc6bf15a855e4d22dd24356 (patch) | |
tree | 4011f70cd8cbb0df76218f49744d745e1f5fa7d8 /portato/gui/windows | |
parent | 771d3afbe73ffdd7df3381fb0bcde737ade2e4f8 (diff) | |
download | portato-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.py | 6 |
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() |