Cole Robinson
84f8131d97
details: Fix addhw popup menu mnemonics
2013-04-16 19:22:31 -04:00
Cole Robinson
111a1dea0f
details: Fix some spacing on the disk page
2013-04-16 18:41:20 -04:00
Cole Robinson
006b129925
details: Fix weirdness with spinbuttons
...
Tweaking the adjustment directly doesn't work like it used to, but
thankfully the situation seems much simpler than it was with gtk2.
2013-04-16 18:38:08 -04:00
Cole Robinson
9f3b21c9a1
Shorten iotune names for simplicity
...
And refactor some of the virt-manager code for the same goal.
2013-04-16 18:37:42 -04:00
Cole Robinson
08e69ef35b
spec: Drop obsolete stuff, merge in Fedora spec config
...
So short of the changelog we can just drop it into Fedora on
rebase.
2013-04-16 16:42:25 -04:00
Cole Robinson
22c3bd62b3
keyring: Convert to Secrets DBUS API
...
This fixes keyring support since the gnome bindings are busted, while
also giving us a chance of working natively on KDE.
I haven't added an explicit dep on libsecret in the spec, since this is
such minor functionality it's not worth pulling the dep, which should
be there on all modern desktops anyways.
2013-04-16 16:20:58 -04:00
Cole Robinson
c60ad16b3b
Convert all DBus usage to Gio GDBUS
...
And drop a whole bunch of legacy dbus fallback stuff. Now that we
are bumping the host dependencies to very recent gtk, none of the
back compat should matter.
2013-04-16 15:22:09 -04:00
Cole Robinson
8b31a10117
On first run, always make sure libvirtd is running
...
Even if it was already installed.
2013-04-16 15:21:18 -04:00
Cole Robinson
812899daf8
Remove HAL support
...
It is long since deprecated, and the UI has been able to accomodate
lack of interface API support for a while.
2013-04-15 19:51:46 -04:00
Cole Robinson
ff6fefeecc
Use Gtk.Application for uniqueness
...
And drop all the legacy dbus stuff which isn't really interesting.
We could use gtk.application for more stuff, but for now it's not
too compelling.
2013-04-15 19:27:46 -04:00
Cole Robinson
329edd46cd
virtManagerTui: Remove unused file
2013-04-15 14:32:10 -04:00
Cole Robinson
31b303f3b1
Remove unused Tui/importblacklist
...
We will solve the same problem with unittests
2013-04-15 14:18:33 -04:00
Cole Robinson
71407f3c76
po: Fix error in ja.po
2013-04-15 14:15:47 -04:00
Cole Robinson
f347ab4381
Update README
2013-04-15 14:15:47 -04:00
Cole Robinson
351d690eab
todo.txt: Update it
2013-04-15 14:15:46 -04:00
Cole Robinson
aeaa85077f
po: Don't track .pot file
...
Doesn't mesh well with intltool usage. I'll just need to push the file
regularly to transifex.
2013-04-15 14:15:18 -04:00
Cole Robinson
2c6c440988
HACKING: Mini updates
2013-04-15 13:22:19 -04:00
Cole Robinson
1078facce2
console: Fix keycombo menu location in fullscreen mode
2013-04-15 12:38:53 -04:00
Cole Robinson
2d110816d6
autodrawer: Fix centering
...
child_get_property bindings need a wrapper to make them useful
2013-04-15 12:38:53 -04:00
Cole Robinson
e7fb33e32d
autodrawer: Enable a bit that pygtk didn't support
2013-04-15 12:38:21 -04:00
Cole Robinson
fce6d4a6ea
autodrawer: Fix drawer from being stuck open on initial fullscreen
2013-04-15 12:38:20 -04:00
Cole Robinson
a102edaa89
console: Fix broken size-allocate signal
2013-04-15 12:37:37 -04:00
Cole Robinson
dd45270ba1
autodrawer: Drop use of cairo bindings
...
We can use Gdk instead
2013-04-15 12:37:37 -04:00
Cole Robinson
d440ec4d0d
console: Fix size_allocate arguments
2013-04-15 12:37:37 -04:00
Cole Robinson
4107646bf3
virtinst: install: simplify has_install_phase()
2013-04-15 12:37:36 -04:00
Cole Robinson
0f57dae8b2
virtinst: Remove not-very-useful post_install_check
...
It doesn't work in a variety of cases and it's not very useful
to begin with.
2013-04-15 12:37:36 -04:00
Hu Tao
ee7168e6f9
Add and fix test cases for cpu mode attribute
...
This patch adds and fixes test cases for cpu mode attribute.
Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
(crobinso: Minor rebase tweaks)
2013-04-14 13:55:26 -04:00
Ken ICHIKAWA
2a72d50477
Add support for cpu mode attribute and cpu host-passthrough
...
With this patch, users can use cpu host-passthrough like this:
virt-install --cpu host-passthrough ...
Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
(crobinso: Add Hu Tao to AUTHORS)
2013-04-14 13:55:06 -04:00
Cole Robinson
a0e07c0f92
virt-manager: Don't double log uncaught startup exception
2013-04-14 13:26:59 -04:00
Cole Robinson
079835bfaf
Fix other popup menus after gtk3 conversion
2013-04-14 13:16:02 -04:00
Guannan Ren
0a9f58a064
fix argument error when right-clicking hw list to popup menu
...
Traceback (most recent call last):
File "../virt-manager/virtManager/details.py", line 1072, in popup_addhw_menu
self.addhwmenu.popup(None, None, None, 0, event.time)
TypeError: popup() takes exactly 7 arguments (6 given)
2013-04-14 13:10:19 -04:00
Cole Robinson
cdac966360
setup: Make 'install' work even if 'configure' wasn't run
2013-04-14 12:51:22 -04:00
Cole Robinson
d5f466d558
virtinst: util: Move keymap stuff to its own file
2013-04-13 16:31:13 -04:00
Cole Robinson
abbc828b70
VirtualGraphics: Don't lookup local keymap over and over
...
Triggered with virt-manager: new vm -> customize before install with a
non qemu. Guest.get_xml_config copies each device so it can set defaults
in a non persistent way. Unfortunately VirtualGraphics was copied before
a keymap lookup was ever done. End result was that we called
util.default_keymap over and over which is slow and floods the logs.
2013-04-13 16:18:03 -04:00
Cole Robinson
94cf9a204b
VirtualGraphics: Cache locally keymap
2013-04-13 16:14:14 -04:00
Cole Robinson
02733ecff4
virtinst: util: Simplify randomUUID
2013-04-13 15:48:06 -04:00
Cole Robinson
1771f6a300
tests: Replace 'scriptimports' with a much simpler method
2013-04-13 15:38:53 -04:00
Cole Robinson
0d243983d0
Revive pep8 and clean up the code
...
autopep8 is pretty cool :)
2013-04-13 15:22:43 -04:00
Cole Robinson
fcc680cae1
Use an RC file for pylint
...
Will let use tweak things easier in the future
2013-04-13 15:22:29 -04:00
Cole Robinson
f471761ebd
Simplify MANIFEST
...
Seems to give us the same results
2013-04-13 14:17:28 -04:00
Cole Robinson
3f79fa3919
Fix the last of the pylint messages
...
If using an older pylint, there are still some complaints about hashlib
and Popen, but those aren't our problems.
2013-04-13 13:45:08 -04:00
Cole Robinson
b8f1bbd3de
asyncjob: Rename function that collides with gtk method
2013-04-13 13:42:39 -04:00
Cole Robinson
baf531f710
virtinst: Guest: Remove back compat static device lists
2013-04-13 13:40:45 -04:00
Cole Robinson
248a1a509f
virtinst: Guest: remove legacy 'boot' handling
2013-04-13 13:40:45 -04:00
Cole Robinson
7a47465ab6
virtinst: Guest: remove back compat graphics handling
2013-04-13 13:40:45 -04:00
Cole Robinson
9359ad2bb6
virtinst: Remove ParaVirt and FullVirtGuest
...
They were just around for back compat at this point, the tools
have moved on.
2013-04-13 13:40:45 -04:00
Cole Robinson
ae471007fc
Tons of misc pylint fixes
2013-04-13 13:40:29 -04:00
Cole Robinson
d323fbbe23
pylint: Disable 'Use of property on old style class' warning
...
pylint can't handle the fact that our Gtk subclasses _are_ new
style classes.
2013-04-12 08:27:45 -04:00
Cole Robinson
e03f84ac7f
autodrawer: Disable pylint warnings caused by gobject introspection
2013-04-12 08:27:45 -04:00
Cole Robinson
c1e0bec220
graphwidgets: Drop cairo import
...
We only use it for one constant, so just hardcode it.
2013-04-12 08:27:45 -04:00