Commit Graph

1693 Commits

Author SHA1 Message Date
Cole Robinson
d99358e60c manager: Change the selection to the row we right click on 2009-12-09 11:28:38 -05:00
Cole Robinson
cd11862dfb Fix some UI typos 2009-12-09 10:58:47 -05:00
rajesh
2896bb09d7 Sending translation for Hindi 2009-12-09 11:00:16 +00:00
ifelix
accea07800 Sending translation for Tamil 2009-12-09 10:51:31 +00:00
mgiri
9e34716bc3 Sending translation for Oriya 2009-12-09 06:12:56 +00:00
swkothar
ff6054e796 Sending translation for Gujarati 2009-12-09 06:03:05 +00:00
swkothar
2e1d6d3221 Sending translation for Gujarati 2009-12-08 10:18:13 +00:00
kkrothap
16607d2dce Sending translation for Telugu 2009-12-08 09:52:17 +00:00
raven
216175884e Sending translation for Polish 2009-12-07 20:42:56 +00:00
Cole Robinson
fd2bca7e5a Prep for release (Update NEWS, translations, configure...) 2009-12-03 15:33:47 -05:00
Cole Robinson
2ce3fef46b Drop gnomevfs dependency 2009-12-03 15:52:53 -05:00
Cole Robinson
9fc947a314 A few more small UI tweaks
- Actually make console border black
- Don't set overly large progress bar values in asyncjob
- Use larger icon in progress dialog.
2009-12-03 13:36:28 -05:00
Cole Robinson
99c7c25f73 Various libvirt back compat fixes
- Fix a check for domain support flags that was breaking inactive XML updates
- Even if requested XML hasn't changed, redefine. Needed for changes to
  take permenant effect if INACTIVE XML flag not supported
- Fix setting HD as a boot device
- Detect autostart unavailability on older libvirt
- Clean up how we display console devices to give more concise output
2009-12-03 10:37:57 -05:00
Cole Robinson
5e6d5b0b73 connection: Make sure openAuth is supported before we use it
Also fix a broken error call in that this path triggered, and
a small tweak to pretty printing a Xen connection.
2009-12-03 10:22:54 -05:00
Cole Robinson
7f88328fb4 Fix some gtk calls for older version compat (RHEL5 vintage) 2009-12-03 10:21:39 -05:00
Cole Robinson
f6c29ff8ea Log virtinst exception if we fail to import at startup 2009-12-03 10:20:36 -05:00
Cole Robinson
2d8c6e49fe manager: Improve tooltip for 'Open' toolbar button 2009-12-02 10:20:07 -05:00
Cole Robinson
6268a037a4 uihelpers: Make sure we have a reasonable network selection fallback 2009-12-02 10:03:03 -05:00
Cole Robinson
0f91429cfe uihelpers: Don't let empty bridge be the default selection
On rethinking, it seems a bit risky that user could create a bogus bridge
and then have all new guests choose it by default and provide no networking.
Be safe and force the user to opt in.
2009-12-02 09:58:31 -05:00
Cole Robinson
7d54481b97 details: Give a pretty description of network source
Currently we just printed net type and source device, when we could use the
pretty print we already have in uihelpers. Break out the functionality and
use it on the net screen.
2009-12-02 09:54:29 -05:00
Cole Robinson
e23f9c0a99 uihelpers: Don't list virtual network bridges as shared interfaces 2009-12-02 09:18:05 -05:00
Cole Robinson
6c24bda23d create: Put kickstart and kernel opts under a minimized expander
Since these will likely be rarely used, and they currently appear mandatory,
hide them from view by default.
2009-12-02 09:17:33 -05:00
Cole Robinson
8b359fbebd domain: Handle parsing disks of type 'dir'
Also, don't raise exceptions if XML appears bogus: if libvirt is happy, we
should be happy.
2009-12-02 08:39:10 -05:00
Cole Robinson
e940ddc868 choosecd: Fix typo with check_qemu_path_search call 2009-12-02 08:38:22 -05:00
Cole Robinson
d0d2f1d2de clone: If choosing to clone via 'Storage Details' make it stick 2009-12-01 21:56:12 -05:00
Cole Robinson
57dcf64375 details: List disks as 'IDE disk 2' as opposed to 'Disk hdb'
The 'target' name in the XML is really just an index for libvirt to use,
but is kind of meaningless in the real world, so calculate an index instead.
2009-12-01 21:34:29 -05:00
Cole Robinson
f5b5fe218d clone: Fix yet more 'empty disk path' fallout 2009-12-01 21:33:16 -05:00
Cole Robinson
5fd14768a7 manager: Don't 'pause' connection rows if collapsed
The paused vs. active state is unclear, and may suprise users by doing things
like closing child dialogs (VM details and New VM wizard).

Turning of polling is of only marginal benefit anyways, as most users prob
don't have multiple concurrent connections, and libvirt threading handles
most of the original performance concerns.
2009-12-01 20:42:00 -05:00
Cole Robinson
f8424c4002 console: Don't hardcode port 22 for ssh, defer to site default 2009-12-01 20:38:13 -05:00
Cole Robinson
55f6525408 virt-manager.py: Call set_prgname before import gtk
Some recent rawhide versions seem to have an implicit set_prgname call when
importing gtk, so make sure we get ours in before it.
2009-12-01 16:34:51 -05:00
Cole Robinson
b1c58dfa95 mediadev: Support media_label nodedev property 2009-12-01 16:33:58 -05:00
Cole Robinson
99ad626728 create: Also check installer scratchdir perms if required. 2009-12-01 12:41:45 -05:00
Cole Robinson
c4db9569e8 Use check_path_search_for_qemu
Used in create wizard, addhw, and choosecd.
2009-12-01 12:35:04 -05:00
Cole Robinson
86e955b30d uihelpers: Add check_path_search_for_qemu helper
This can be used by various UI pieces to determine if the requested
disk/install path is accessible by the user libvirt launches qemu processes
as. We currently cannot programmatically determine what this user is, so
make it easy for distros to hardcode.
2009-12-01 12:23:19 -05:00
Cole Robinson
47e1a1826e createnet: Allow specifying <forward mode='route'/> 2009-12-01 11:49:08 -05:00
Cole Robinson
51c9dce24b Allow using node device APIs for CDROM enumeration.
One piece of info libvirt doesn't provide for us in the media label name,
other than that we have feature parity.
2009-11-30 16:16:43 -05:00
Cole Robinson
5d9d6a6fc4 connection: Only attempt to talk to HAL if absolutely required. 2009-11-30 13:05:35 -05:00
Cole Robinson
085f2de8f0 Show netdev and optical errors in UI.
Take the error from the vmmConnection object, and show where appropriate in
various UI locations.
2009-11-30 12:51:25 -05:00
Cole Robinson
12e6d6c8bd Expose optical signals through connection object.
Connection object will get this info from either halhelper or libvirt (not
implemented yet).
2009-11-30 11:56:41 -05:00
Cole Robinson
30dbbcda56 mediadev: Associate media-added/removed signals
Rather than have these come from halhelper, push them to users via mediadev,
since this will be useful for non-hal backeneds (libvirt)
2009-11-30 10:50:04 -05:00
Cole Robinson
8ab60836a0 halhelper: Don't track any state
Tracking state is largely needless, so drop it. Should be a no op
2009-11-30 10:12:45 -05:00
Cole Robinson
837ed55501 Merge NetdevHelper and OpticalHelper into new class HalHelper
Provides all the signals we need from the previous two classes.
2009-11-30 16:25:39 -05:00
Cole Robinson
18d331a241 opticalhelper: Clean up signals 2009-11-30 16:22:20 -05:00
Cole Robinson
8c320509ed opticalhelper: Move UI update routines to uihelpers 2009-11-30 16:21:04 -05:00
Cole Robinson
f9b7e9cdf4 Add new class vmmMediaDev, similar to vmmNetDev
Represents a physical media drive on the host (only cdrom for now, but could
be floppy later). Use this in opticalhelper
2009-11-30 16:20:06 -05:00
Cole Robinson
26f6ee3e18 manager: Remember previous window dimensions 2009-11-28 21:00:46 -05:00
Cole Robinson
71f54c0112 manager: Make code organization more readable
As has been done with other files, try to group similar functions in
commented blocks, and break apart massive __init__ functions into chunks.
2009-11-28 20:49:44 -05:00
Cole Robinson
108fa864d7 details: Disable send key menu entries if VM is paused 2009-11-28 20:13:55 -05:00
Cole Robinson
8b31e9afc3 details: Remember previous window dimensions
In order to do this, we can't auto resize the window to the VNC desktop
resolution when details is brought up. So, to make this desired behavior
easier, add a View menu item 'Resize to VM' which resizes the details window
to match the active desktop dimensions.
2009-11-28 20:07:01 -05:00
Cole Robinson
436d1c39e2 console: Rework VNC sizing: allow scaling down and maintain ratio
There were several defficiencies in the way we handled VNC widget sizing, so
try to fix them up. We now have:

- Ability to scale down
- Aspect ratio maintained while scaling
- Much better scrollbar handling without the hacks.
2009-11-28 18:48:56 -05:00