[Pkg-privacy-commits] [tails-installer] 68/210: Inspect the flash drives when the choice changes
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.
commit 21678e89c70628567db50f686c7a27ba711c56ac
Author: Martin Briza <mbriza at redhat.com>
Date: Thu Apr 9 16:27:19 2015 +0200
Inspect the flash drives when the choice changes
---
liveusb/gui.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/liveusb/gui.py b/liveusb/gui.py
index a7ed307..4bb6d8b 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -783,6 +783,7 @@ class LiveUSBData(QObject):
url=release['url']
))
self._usbDrives = []
+ self.currentDriveChanged.connect(self.currentImage.inspectDestination)
try:
self.live.detect_removable_drives(callback=self.USBDeviceCallback)
@@ -848,8 +849,10 @@ class LiveUSBData(QObject):
@currentIndex.setter
def currentIndex(self, value):
if value != self._currentIndex:
+ self.currentDriveChanged.disconnect(self.currentImage.inspectDestination)
self._currentIndex = value
self.currentImageChanged.emit()
+ self.currentDriveChanged.connect(self.currentImage.inspectDestination)
@pyqtProperty(Release, notify=currentImageChanged)
def currentImage(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