mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-07 14:43:01 -06:00
Desktop tool for managing virtual machines via libvirt
db1b2fbce3
Use GtkFileChooserNative [1] instead of GtkFileChooserDialog [2] to integrate better with the platform (e.g. use the portal implementation when run with GTK_USE_PORTAL=1, resulting in the KDE Frameworks implementation being used when xdg-desktop-portal-kde is in use). Quoting from the GtkFileChooserDialog doc [2]: > If you want to integrate well with the platform you should use the > GtkFileChooserNative API, which will use a platform-specific dialog if > available and fall back to GtkFileChooserDialog otherwise. Also replace the use of GTK_STOCK_CANCEL [3] and GTK_STOCK_OPEN [4] which were deprecated in GTK 3.10: Both, the `accept_label` and `cancel_label` params of `Gtk.FileChooserNative.new` can be `None` to use the default text ("Open", "Cancel"). [5] Adjust the only caller (in `vmmVMWindow#_takeScreenshot`) that was passing an explicit label/icon name for the accept button to pass `_("_Save")` as label, rather than the also deprecated Gtk.STOCK_SAVE [6]. (GtkFileChooserDialog has special handling for Gtk.STOCK_SAVE etc., but that's not generally the case for native dialogs). Rename the method param from `choose_button` to `choose_label` to make clearer that this is a label. [1] https://docs.gtk.org/gtk3/class.FileChooserNative.html [2] https://docs.gtk.org/gtk3/class.FileChooserDialog.html [3] https://docs.gtk.org/gtk3/const.STOCK_CANCEL.html [4] https://docs.gtk.org/gtk3/const.STOCK_OPEN.html [5] http://pygobject-doc.gitee.io/pgi-docs/Gtk-3.0/classes/FileChooserNative.html#Gtk.FileChooserNative.new [6] https://docs.gtk.org/gtk3/const.STOCK_SAVE.html Fixes #315 |
||
---|---|---|
.github | ||
data | ||
man | ||
po | ||
tests | ||
ui | ||
virtinst | ||
virtManager | ||
.coveragerc | ||
.gitignore | ||
.gitpublish | ||
.mailmap | ||
.packit.yaml | ||
.pylintrc | ||
CONTRIBUTING.md | ||
COPYING | ||
DESIGN.md | ||
INSTALL.md | ||
MANIFEST.in | ||
NEWS.md | ||
README.md | ||
setup.cfg | ||
setup.py | ||
virt-clone | ||
virt-install | ||
virt-manager | ||
virt-manager.spec | ||
virt-xml |
Virtual Machine Manager
virt-manager
is a graphical tool for managing virtual machines
via libvirt. Most usage is with QEMU/KVM
virtual machines, but Xen and libvirt LXC containers are well
supported. Common operations for any libvirt driver should work.
Several command line tools are also provided:
virt-install
: Create new libvirt virtual machinesvirt-clone
: Duplicate existing libvirt virtual machinesvirt-xml
: Edit existing libvirt virtual machines/manipulate libvirt XML
For dependency info and installation instructions, see the INSTALL.md file. If you just want to quickly test the code from a git checkout, you can launch any of the commands like:
./virt-manager --debug ...
Contact
- Discussions and big patch series should go to the virt-tools-list mailing list.
- For IRC we use #virt on OFTC.
- For bug reporting info, see virt-manager bug reporting.
- There are further project details on the virt-manager website.
- See the CONTRIBUTING.md file for info about submitting patches or contributing translations.