Rename ui files to match source file names

This commit is contained in:
Cole Robinson 2013-09-22 16:10:16 -04:00
parent ba3ce7afb3
commit d338bce329
38 changed files with 19 additions and 26 deletions

View File

@ -25,7 +25,7 @@ from virtManager.baseclass import vmmGObjectUI
class vmmAbout(vmmGObjectUI):
def __init__(self):
vmmGObjectUI.__init__(self, "vmm-about.ui", "vmm-about")
vmmGObjectUI.__init__(self, "about.ui", "vmm-about")
self.builder.connect_signals({
"on_vmm_about_delete_event": self.close,

View File

@ -72,7 +72,7 @@ tpm_widget_mappings = {
class vmmAddHardware(vmmGObjectUI):
def __init__(self, vm, is_customize_dialog):
vmmGObjectUI.__init__(self, "vmm-add-hardware.ui", "vmm-add-hardware")
vmmGObjectUI.__init__(self, "addhardware.ui", "vmm-add-hardware")
self.vm = vm
self.conn = vm.conn

View File

@ -169,7 +169,7 @@ class vmmAsyncJob(vmmGObjectUI):
@cancel_cb: Cancel callback if operation supports it.
(cb, arg1, arg2, ...)
"""
vmmGObjectUI.__init__(self, "vmm-progress.ui", "vmm-progress")
vmmGObjectUI.__init__(self, "asyncjob.ui", "vmm-progress")
self.topwin.set_transient_for(parent)
self.show_progress = bool(show_progress)

View File

@ -36,7 +36,7 @@ class vmmChooseCD(vmmGObjectUI):
}
def __init__(self, vm, disk):
vmmGObjectUI.__init__(self, "vmm-choose-cd.ui", "vmm-choose-cd")
vmmGObjectUI.__init__(self, "choosecd.ui", "vmm-choose-cd")
self.vm = vm
self.conn = self.vm.conn

View File

@ -125,7 +125,7 @@ def do_we_default(conn, vol, path, ro, shared, devtype):
class vmmCloneVM(vmmGObjectUI):
def __init__(self, orig_vm):
vmmGObjectUI.__init__(self, "vmm-clone.ui", "vmm-clone")
vmmGObjectUI.__init__(self, "clone.ui", "vmm-clone")
self.orig_vm = orig_vm
self.conn = self.orig_vm.conn

View File

@ -60,9 +60,7 @@ class vmmConnect(vmmGObjectUI):
}
def __init__(self):
vmmGObjectUI.__init__(self,
"vmm-open-connection.ui",
"vmm-open-connection")
vmmGObjectUI.__init__(self, "connect.ui", "vmm-open-connection")
self.builder.connect_signals({
"on_hypervisor_changed": self.hypervisor_changed,

View File

@ -69,7 +69,7 @@ class vmmCreate(vmmGObjectUI):
}
def __init__(self, engine):
vmmGObjectUI.__init__(self, "vmm-create.ui", "vmm-create")
vmmGObjectUI.__init__(self, "create.ui", "vmm-create")
self.engine = engine
self.conn = None

View File

@ -63,8 +63,7 @@ class vmmCreateInterface(vmmGObjectUI):
def __init__(self, conn):
vmmGObjectUI.__init__(self,
"vmm-create-interface.ui",
"vmm-create-interface")
"createinterface.ui", "vmm-create-interface")
self.conn = conn
self.interface = None

View File

@ -42,7 +42,7 @@ PAGE_SUMMARY = 5
class vmmCreateNetwork(vmmGObjectUI):
def __init__(self, conn):
vmmGObjectUI.__init__(self, "vmm-create-net.ui", "vmm-create-net")
vmmGObjectUI.__init__(self, "createnet.ui", "vmm-create-net")
self.conn = conn
self.builder.connect_signals({

View File

@ -37,9 +37,7 @@ PAGE_FORMAT = 1
class vmmCreatePool(vmmGObjectUI):
def __init__(self, conn):
vmmGObjectUI.__init__(self,
"vmm-create-pool.ui",
"vmm-create-pool")
vmmGObjectUI.__init__(self, "createpool.ui", "vmm-create-pool")
self.conn = conn
self._pool = None

View File

@ -41,7 +41,7 @@ class vmmCreateVolume(vmmGObjectUI):
}
def __init__(self, conn, parent_pool):
vmmGObjectUI.__init__(self, "vmm-create-vol.ui", "vmm-create-vol")
vmmGObjectUI.__init__(self, "createvol.ui", "vmm-create-vol")
self.conn = conn
self.parent_pool = parent_pool

View File

@ -47,7 +47,7 @@ STORAGE_ROW_TOOLTIP = 7
class vmmDeleteDialog(vmmGObjectUI):
def __init__(self):
vmmGObjectUI.__init__(self, "vmm-delete.ui", "vmm-delete")
vmmGObjectUI.__init__(self, "delete.ui", "vmm-delete")
self.vm = None
self.conn = None

View File

@ -339,7 +339,7 @@ class vmmDetails(vmmGObjectUI):
}
def __init__(self, vm, parent=None):
vmmGObjectUI.__init__(self, "vmm-details.ui", "vmm-details")
vmmGObjectUI.__init__(self, "details.ui", "vmm-details")
self.vm = vm
self.conn = self.vm.conn

View File

@ -54,7 +54,7 @@ class vmmHost(vmmGObjectUI):
}
def __init__(self, conn):
vmmGObjectUI.__init__(self, "vmm-host.ui", "vmm-host")
vmmGObjectUI.__init__(self, "host.ui", "vmm-host")
self.conn = conn
self.title = conn.get_short_hostname() + " " + self.topwin.get_title()

View File

@ -112,7 +112,7 @@ class vmmManager(vmmGObjectUI):
}
def __init__(self):
vmmGObjectUI.__init__(self, "vmm-manager.ui", "vmm-manager")
vmmGObjectUI.__init__(self, "manager.ui", "vmm-manager")
self.ignore_pause = False

View File

@ -50,7 +50,7 @@ def uri_join(uri_tuple):
class vmmMigrateDialog(vmmGObjectUI):
def __init__(self, vm, engine):
vmmGObjectUI.__init__(self, "vmm-migrate.ui", "vmm-migrate")
vmmGObjectUI.__init__(self, "migrate.ui", "vmm-migrate")
self.vm = vm
self.conn = vm.conn
self.engine = engine

View File

@ -33,7 +33,7 @@ PREFS_PAGE_VM_PREFS = 1
class vmmPreferences(vmmGObjectUI):
def __init__(self):
vmmGObjectUI.__init__(self, "vmm-preferences.ui", "vmm-preferences")
vmmGObjectUI.__init__(self, "preferences.ui", "vmm-preferences")
self.refresh_view_system_tray()
self.refresh_update_interval()

View File

@ -55,7 +55,7 @@ def _snapshot_state_icon_name(state):
class vmmSnapshotPage(vmmGObjectUI):
def __init__(self, vm, builder, topwin):
vmmGObjectUI.__init__(self, "vmm-snapshots.ui",
vmmGObjectUI.__init__(self, "snapshots.ui",
None, builder=builder, topwin=topwin)
self.vm = vm

View File

@ -39,9 +39,7 @@ class vmmStorageBrowser(vmmGObjectUI):
}
def __init__(self, conn):
vmmGObjectUI.__init__(self,
"vmm-storage-browse.ui",
"vmm-storage-browse")
vmmGObjectUI.__init__(self, "storagebrowse.ui", "vmm-storage-browse")
self.conn = conn
self.conn_signal_ids = []