Exemple #1
0
	def _confirm_new_resolution(self, old_resolution, new_resolution):
		title = _('Compatibility check')
		msg = _('If you can read this page, your display resolution was successfully changed. Hit Play/Pause to confirm.')
		next = Button(_('OK'))
		next.connect((lambda : config.user_config.save()))
		win = BigMessageWindow(msg, title, next)
		win.show(timeout=20, timeout_callback=(lambda : self._discard_new_resolution(old_resolution)))
Exemple #2
0
self.nodes: {0: <unpyclib.structure.node instance at 0xb755f90c>}
nname: 0
n 0(None)[return self._discard_new_resolution(old_resolution)
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb755f0ac>}
nname: 0
n 0(None)[title = _('Compatibility check')
msg = _('If you can read this page, your display resolution was successfully changed. Hit Play/Pause to confirm.')
next = Button(_('OK'))
next.connect((lambda : config.user_config.save()))
win = BigMessageWindow(msg, title, next)
win.show(timeout=20, timeout_callback=(lambda : self._discard_new_resolution(old_resolution)))
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb75d3a2c>}
nname: 108
n 108(None)[self.menu.related_menu.refresh_connection(resolution_caption)
title = _('Compatibility check')
msg = _('Your display resolution has been restored to its previous setting')
BigMessageWindow(msg, title).show()
]:
	i: 83(), 97()
	o: 

nname: 97
n 97(None)[resolution_caption = COMPOSITE_OUT[old_resolution]