summaryrefslogtreecommitdiff
path: root/virtManager/engine.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-03-13 11:52:11 -0400
committerCole Robinson <crobinso@redhat.com>2018-03-15 21:24:48 -0400
commitb6a61818af918cf55b4565d96d77d90bc65a2d1a (patch)
treea2ddcdaae64680e6a9eb959d7bf3cbc04adfd3ec /virtManager/engine.py
parent717ff726848be77989664baad5fba548f2be81f1 (diff)
downloadvirt-manager-b6a61818af918cf55b4565d96d77d90bc65a2d1a.tar.gz
about: Convert to singleton
Diffstat (limited to 'virtManager/engine.py')
-rw-r--r--virtManager/engine.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/virtManager/engine.py b/virtManager/engine.py
index e05d4b12..21507e76 100644
--- a/virtManager/engine.py
+++ b/virtManager/engine.py
@@ -30,7 +30,6 @@ from gi.repository import GObject
from gi.repository import Gtk
from . import packageutils
-from .about import vmmAbout
from .baseclass import vmmGObject
from .clone import vmmCloneVM
from .connect import vmmConnect
@@ -71,7 +70,6 @@ class vmmEngine(vmmGObject):
self.windowConnect = None
self.windowPreferences = None
- self.windowAbout = None
self.windowCreate = None
self.windowManager = None
self.windowMigrate = None
@@ -418,10 +416,6 @@ class vmmEngine(vmmGObject):
self.windowPreferences.cleanup()
self.windowPreferences = None
- if self.windowAbout:
- self.windowAbout.cleanup()
- self.windowAbout = None
-
if self.windowConnect:
self.windowConnect.cleanup()
self.windowConnect = None
@@ -689,14 +683,6 @@ class vmmEngine(vmmGObject):
# Dialog launchers #
####################
- def _do_show_about(self, src):
- try:
- if self.windowAbout is None:
- self.windowAbout = vmmAbout()
- self.windowAbout.show()
- except Exception as e:
- src.err.show_err(_("Error launching 'About' dialog: %s") % str(e))
-
def _get_preferences(self):
if self.windowPreferences:
return self.windowPreferences
@@ -818,7 +804,6 @@ class vmmEngine(vmmGObject):
obj.connect("action-show-domain", self._do_show_vm)
obj.connect("action-show-preferences", self._do_show_preferences)
obj.connect("action-show-create", self._do_show_create)
- obj.connect("action-show-about", self._do_show_about)
obj.connect("action-show-host", self._do_show_host)
obj.connect("action-show-connect", self._do_show_connect)
obj.connect("action-exit-app", self.exit_app)