Example #1
0
    def confirm_import_feed(self, pending, valid_sigs):
        yield self._switch_to_main_window(_('Need to confirm a new GPG key'))

        from zeroinstall.gtkui import trust_box
        box = trust_box.TrustBox(pending,
                                 valid_sigs,
                                 parent=self.mainwindow.window)
        box.show()
        yield box.closed
Example #2
0
	def confirm_import_feed(self, pending, valid_sigs):
		if self.mainwindow.systray_icon:
			self.mainwindow.systray_icon.set_tooltip(_('Need to confirm a new GPG key'))
			self.mainwindow.systray_icon.set_blinking(True)

			# Wait for the user to click the icon, then continue
			yield self.mainwindow.systray_icon_blocker
			yield tasks.TimeoutBlocker(0.5, 'Delay')

		from zeroinstall.gtkui import trust_box
		box = trust_box.TrustBox(pending, valid_sigs, parent = self.mainwindow.window)
		box.show()
		yield box.closed
Example #3
0
 def confirm_import_feed(self, pending, valid_sigs):
     from zeroinstall.gtkui import trust_box
     box = trust_box.TrustBox(pending, valid_sigs, parent=self.dialog)
     box.show()
     yield box.closed