Commit Graph

1338 Commits

Author SHA1 Message Date
Cole Robinson
b6eb79dfdc Show a startup error if virtinst version isn't new enough. 2009-11-11 16:32:24 -05:00
Cole Robinson
291c6f629c details: Make cpu/mem/graphics/input refresh routines more readable. 2009-11-11 12:56:58 -05:00
Jon Nordby
fa8dccf0aa manager: Bring back multiple graph as an option.
Essentially a revert of the changes in 09189003ddf9
2009-11-11 11:02:57 -05:00
Ales Zelinka
7aad3e86da manager: Add 'delete' option to the VM context menu. 2009-11-11 10:05:34 -05:00
Jon Nordby
1cd79fe86b manager: enable menu key to open context menu 2009-11-11 09:49:34 -05:00
Jon Nordby
00b10a93d3 host: Show hostname in window title
Activating a connected host entry in manager opens host window.
2009-11-10 21:33:51 +01:00
Cole Robinson
297e199d6e manager: Clean up VM/Conn popup menu routine. 2009-11-10 16:01:56 -05:00
Cole Robinson
fd70218477 manager: Make sure selected row text color isn't ugly. 2009-11-10 15:42:07 -05:00
Cole Robinson
79a20bb5df storagebrowser: Allow setting browser title.
Also, various refactoring in how we pass options off to the local browser (try
to centralize a lot of duplication).
2009-11-10 14:30:51 -05:00
Cole Robinson
76df6b2fbb manager: Only use one toolbar at the top of the window. 2009-11-10 12:57:28 -05:00
Cole Robinson
b7b7eecd43 Sigh, fix set_prgname check just committed. 2009-11-10 12:57:01 -05:00
Cole Robinson
e143b87b95 about: List virt-manager.org as the website path 2009-11-10 12:45:00 -05:00
Cole Robinson
f66409ecbf Don't use deprecated libgnome. 2009-11-10 12:43:51 -05:00
Cole Robinson
ab0491c39d Use gobject set_prgname to make gnome shell happy. 2009-11-10 12:08:43 -05:00
Cole Robinson
07ccae31d3 systray: Use gtk.status_icon_position_menu for proper menu positioning. 2009-11-10 12:04:38 -05:00
Cole Robinson
abc84b3569 systray: Don't momentarilly show systray on startup if disabled. 2009-11-10 12:00:01 -05:00
Cole Robinson
48cc0a33d9 systray: Make sure systray is actually embedded before we keep app running. 2009-11-10 11:56:15 -05:00
Cole Robinson
d8e8430285 details: Always have the apply button showing.
Also, swap the order of remove and apply so remove is less likely to be
pushed by accident.
2009-11-05 15:22:00 -05:00
Cole Robinson
9fbcce7859 details: Allow changing video model of an existing device. 2009-11-05 14:59:11 -05:00
Cole Robinson
a7ceb7ed52 details: Allow changing disk readonly + shareable attributes. 2009-11-04 16:30:51 -05:00
Cole Robinson
6abf4f601e details: disk: Slim down information output
Also, use checkboxes for readonly + shareable in preparation for making them
editable.
2009-11-04 15:41:18 -05:00
Cole Robinson
d602b5f38b details: Allow changing clock offset value. 2009-11-04 08:46:09 -05:00
Cole Robinson
90a35cab48 details: Allow changing APIC and ACPI settings. 2009-11-04 11:09:41 -05:00
Cole Robinson
90d0a55b7f domain: More cleanup for XML fetching routines.
Remove scary comments about updating inactive XML, as this should largely
be resolved now. Use more consistent naming.
2009-11-04 11:07:03 -05:00
Cole Robinson
0559c498e3 details: Break out wrapper for hotplug/config update routines
All XML updating routines follow a similar pattern or 'try hotplug, try
redefine, report error'. Break out a helper function for all this and use
it for security relabelling, media change, memory and vcpu hotplug.
2009-11-04 13:23:22 -05:00
Cole Robinson
339e568897 domain: Split cdrom media change into hotplug and define pieces.
This allows us to check for hotplug errors, but still define the change
to take place after the next reboot.
2009-11-03 16:15:18 -05:00
Cole Robinson
dc877783a5 domain: Don't set disk path to '-' if empty, let details do that. 2009-11-03 16:09:03 -05:00
Cole Robinson
04b4900625 domain: Fix updating inactive XML config
If domain is running and we can't change the running config (hotplug not
supported, etc.), we update the inactive config. Make sure that we merge
inactive config changes and don't just blow away whatever is set.
2009-11-04 13:20:03 -05:00
Cole Robinson
d8f264da92 details: Lots of code reorganization.
Group all relevant functions into documented blocks, rather than leave them
scattered all along the code. Turn some methods into internal functions.
2009-11-04 13:18:14 -05:00
Cole Robinson
82855b54c0 details: List ACPI, APIC, and clock offset values.
These will be made editable shortly, but for now just show their values.
2009-11-04 13:16:38 -05:00
Cole Robinson
a7d4b6978d details: Clean up and comment __init__ 2009-11-02 11:21:50 -05:00
Michal Novotny
1c3766cbfe details: Lookup product/vendor name for host device details. 2009-11-04 10:36:38 -05:00
Cole Robinson
14957145d3 console: Don't mess with console padding on fullscreen on/off 2009-11-01 21:56:21 -05:00
Cole Robinson
7c1b399f76 console: Remove 6 pixel border around VNC widget 2009-11-01 21:39:48 -05:00
Cole Robinson
422981b8db console: Remove paused screenshot code.
It's been disabled since VNC scaling was added, and the comment indicates it
isn't even required, so just remove it.
2009-11-01 21:14:41 -05:00
Cole Robinson
1d47877f45 Don't launch multiple 'pointer grabbed' notifications if timer still running. 2009-11-01 19:39:18 -05:00
Cole Robinson
8af7df1b79 Fix setting VCPUs and cpuset. 2009-11-01 16:05:46 -05:00
Cole Robinson
c5eb88ca30 console: Disable key mnemonics when pointer is grabbed. 2009-10-30 14:36:17 -04:00
Cole Robinson
5df19b3c8a console: Don't throw warning when disable accelerators. 2009-11-01 16:36:44 -05:00
Cole Robinson
9520a7cc88 details: Break out VNC + console pages to a separate class.
The details class is getting pretty big, so split out the VNC functionality
into a separate class (like it was many moons ago).

The split isn't as clean as it should be, but things work and readability is
greatly improved. If we ever add support for a different viewer widget (rdp
or spice?) we would need to do something similar anyways.
2009-10-30 13:25:27 -04:00
Cole Robinson
77ecc9e6e9 Don't show a useless traceback if details window errors. 2009-11-01 16:35:33 -05:00
Cole Robinson
1842a204dd Fix up some pylint. 2009-10-28 20:35:13 -04:00
Cole Robinson
c24ba2fd5d Make sure pylint supports a check before we disable it. 2009-10-28 20:20:14 -04:00
Cole Robinson
26535026b1 Refactor cdrom insert/eject routines.
We were doing some hacky stuff behind the scenes, removing and readding a
new device to the XML when we could just edit in place. Fix up these issues
(should be an effective nop).
2009-10-28 16:38:09 -04:00
Cole Robinson
3b7a4762c6 domain: Break apart device lookup helper functions for xpath and nodes
Both are useful pieces to have, so separate the logic into two functions.
2009-10-05 18:57:29 -04:00
Cole Robinson
6091f9d1a3 create: Fix removing of host storage poll timer 2009-10-05 18:22:50 -04:00
Cole Robinson
3374d0134d domain: Explicitly mark XML altering API. 2009-10-05 18:00:13 -04:00
Cole Robinson
737c88e3e0 domain: cleanup: Use helper functions for methods that pull from self.record 2009-10-05 17:31:59 -04:00
Cole Robinson
11358820b0 Reorganize domain methods to wrap all virDomain calls.
Explicitly discourage direct access to the virDomain instance.
2009-09-25 09:52:03 -04:00
Jon Nordby
13f2a7bc15 Keep app running on close if systray enabled. 2009-10-29 11:08:40 -04:00