[Pkg-privacy-commits] [tails-installer] 18/34: Generate the list of candidate target devices only once on startup.

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 3f9413c7d369fe73d3be6492c1dcd96534f0150d
Author: intrigeri <intrigeri at boum.org>
Date:   Sat Jan 20 14:03:34 2018 +0000

    Generate the list of candidate target devices only once on startup.
    
    This branch made it happen twice: once by triggering
    on_radio_button_source_iso_toggled and once in
    TailsInstallerWindow's constructor.
---
 tails_installer/gui.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index d8f9c36..b5e5a8c 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -318,7 +318,8 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
 
         # 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.
+        # that will in turn initialize self.live.source, self.source_available,
+        # and populate the list of candidate devices.
         # - inside Tails
         if self.opts.clone:
             self.__radio_button_source_device.set_active(True)
@@ -332,7 +333,6 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
         if not self.opts.clone:
             self.populate_releases()
         self.update_start_button()
-        self.populate_devices()
         self.downloader = None
         self.progress_thread = ProgressThread(parent=self)
         self.download_progress = DownloadProgress(parent=self)

-- 
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