One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
virt-manager
/
virtManager
/
View File Name :
about.py
# Copyright (C) 2006, 2013 Red Hat, Inc. # Copyright (C) 2006 Daniel P. Berrange <berrange@redhat.com> # # This work is licensed under the GNU GPLv2 or later. # See the COPYING file in the top-level directory. from virtinst import log from .baseclass import vmmGObjectUI class vmmAbout(vmmGObjectUI): @classmethod def show_instance(cls, parentobj): try: if not cls._instance: cls._instance = vmmAbout() cls._instance.show(parentobj.topwin) except Exception as e: # pragma: no cover parentobj.err.show_err( _("Error launching 'About' dialog: %s") % str(e)) def __init__(self): vmmGObjectUI.__init__(self, "about.ui", "vmm-about") self._cleanup_on_app_close() self.builder.connect_signals({ "on_vmm_about_delete_event": self.close, "on_vmm_about_response": self.close, }) def show(self, parent): log.debug("Showing about") self.topwin.set_version(self.config.get_appversion()) self.topwin.set_transient_for(parent) self.topwin.present() def close(self, ignore1=None, ignore2=None): log.debug("Closing about") self.topwin.hide() return 1 def _cleanup(self): pass