virtManager: move device UI files to virtManager/device/

This commit is contained in:
Cole Robinson 2019-06-16 21:45:19 -04:00
parent a6c07fbfdc
commit 9be836102e
11 changed files with 31 additions and 29 deletions

View File

@ -17,14 +17,14 @@ from virtinst import (DeviceChannel, DeviceConsole,
from virtinst import log
from . import uiutil
from .fsdetails import vmmFSDetails
from .gfxdetails import vmmGraphicsDetails
from .netlist import vmmNetworkList
from .asyncjob import vmmAsyncJob
from .storagebrowse import vmmStorageBrowser
from .baseclass import vmmGObjectUI
from .addstorage import vmmAddStorage
from .vsockdetails import vmmVsockDetails
from .device.addstorage import vmmAddStorage
from .device.fsdetails import vmmFSDetails
from .device.gfxdetails import vmmGraphicsDetails
from .device.netlist import vmmNetworkList
from .device.vsockdetails import vmmVsockDetails
from .storagebrowse import vmmStorageBrowser
from .xmleditor import vmmXMLEditor

View File

@ -947,7 +947,7 @@ class vmmConsolePages(vmmGObjectUI):
radio=False, sensitive=False)
return
from .gfxdetails import vmmGraphicsDetails
from .device.gfxdetails import vmmGraphicsDetails
active = (self.widget("console-pages").get_current_page() !=
_CONSOLE_PAGE_SERIAL)

View File

@ -19,13 +19,13 @@ import virtinst.generatename
from virtinst import log
from . import uiutil
from .addstorage import vmmAddStorage
from .asyncjob import vmmAsyncJob
from .baseclass import vmmGObjectUI
from .connmanager import vmmConnectionManager
from .device.addstorage import vmmAddStorage
from .device.mediacombo import vmmMediaCombo
from .device.netlist import vmmNetworkList
from .engine import vmmEngine
from .mediacombo import vmmMediaCombo
from .netlist import vmmNetworkList
from .object.domain import vmmDomainVirtinst
from .oslist import vmmOSList
from .storagebrowse import vmmStorageBrowser

View File

@ -16,16 +16,16 @@ from virtinst import log
from . import uiutil
from .addhardware import vmmAddHardware
from .addstorage import vmmAddStorage
from .baseclass import vmmGObjectUI
from .fsdetails import vmmFSDetails
from .gfxdetails import vmmGraphicsDetails
from .device.addstorage import vmmAddStorage
from .device.fsdetails import vmmFSDetails
from .device.gfxdetails import vmmGraphicsDetails
from .device.mediacombo import vmmMediaCombo
from .device.netlist import vmmNetworkList
from .device.vsockdetails import vmmVsockDetails
from .graphwidgets import Sparkline
from .mediacombo import vmmMediaCombo
from .netlist import vmmNetworkList
from .oslist import vmmOSList
from .storagebrowse import vmmStorageBrowser
from .vsockdetails import vmmVsockDetails
from .xmleditor import vmmXMLEditor

View File

View File

@ -10,8 +10,8 @@ from gi.repository import Gtk
import virtinst
from virtinst import log
from . import uiutil
from .baseclass import vmmGObjectUI
from .. import uiutil
from ..baseclass import vmmGObjectUI
class vmmAddStorage(vmmGObjectUI):

View File

@ -8,9 +8,10 @@
from gi.repository import Gtk
from virtinst import DeviceFilesystem
from . import uiutil
from .baseclass import vmmGObjectUI
from .storagebrowse import vmmStorageBrowser
from .. import uiutil
from ..baseclass import vmmGObjectUI
from ..storagebrowse import vmmStorageBrowser
class vmmFSDetails(vmmGObjectUI):

View File

@ -8,8 +8,9 @@
from gi.repository import Gtk
import virtinst
from . import uiutil
from .baseclass import vmmGObjectUI
from .. import uiutil
from ..baseclass import vmmGObjectUI
class vmmGraphicsDetails(vmmGObjectUI):

View File

@ -5,8 +5,8 @@
from gi.repository import Gtk
from . import uiutil
from .baseclass import vmmGObject, vmmGObjectUI
from .. import uiutil
from ..baseclass import vmmGObject, vmmGObjectUI
class vmmMediaCombo(vmmGObjectUI):

View File

@ -10,8 +10,8 @@ from gi.repository import Gtk
import virtinst
from virtinst import log
from . import uiutil
from .baseclass import vmmGObjectUI
from .. import uiutil
from ..baseclass import vmmGObjectUI
NetDev = collections.namedtuple('Netdev', ['name', 'is_bridge', 'slave_names'])

View File

@ -3,8 +3,8 @@
# This work is licensed under the GNU GPLv2 or later.
# See the COPYING file in the top-level directory.
from . import uiutil
from .baseclass import vmmGObjectUI
from .. import uiutil
from ..baseclass import vmmGObjectUI
class vmmVsockDetails(vmmGObjectUI):