[Pkg-privacy-commits] [tails-installer] 17/34: Explain what's going on with comments

anonym anonym-tails-guest at moszumanska.debian.org
Mon Jan 22 14:05:32 UTC 2018


This is an automated email from the git hooks/post-receive script.

anonym-tails-guest pushed a commit to branch tails/master
in repository tails-installer.

commit 5b80ec2db40188c22ad8344fb7b7782c4e7c429f
Author: intrigeri <intrigeri at boum.org>
Date:   Sat Jan 20 13:45:57 2018 +0000

    Explain what's going on with comments
---
 tails_installer/gui.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index 8981e16..d8f9c36 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -316,11 +316,14 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
         self.opts.clone = is_running_from_tails()
         self.live = TailsInstallerCreator(opts=opts)
 
-        # Inside tails
+        # Initialize the visibility and state of the clone/ISO source
+        # selection widgets. This triggers on_radio_button_source_iso_toggled
+        # that will in turn initialize self.live.source & self.source_available.
+        # - inside Tails
         if self.opts.clone:
             self.__radio_button_source_device.set_active(True)
             self.__filechooserbutton_source_file.set_sensitive(False)
-        # Outside
+        # - outside of Tails
         else:
             self.__radio_button_source_device.set_visible(False)
             self.__filechooserbutton_source_file.set_sensitive(True)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list