Commit Graph

2468 Commits

Author SHA1 Message Date
Cole Robinson
cb777cd7d4 connection: Move auth helpers to own file 2012-02-10 11:03:19 -05:00
Cole Robinson
3bf6d17059 create: Don't use explicit thread locks for distro detection
Just simplify things by using idle_add to set the UI
2012-02-10 06:58:45 -05:00
Cole Robinson
49bfd25780 create: Make install option tooltips and errors more accurate 2012-02-09 09:55:45 -05:00
Cole Robinson
a5ecf7203f create: Don't hide install methods if none will work
So users can get info from the tooltips
2012-02-09 09:04:09 -05:00
Cole Robinson
67ca0a9f34 addhw: Refresh video model when relaunching dialog
Since values depend on VM config which can change between runs.
2012-02-08 18:20:59 -05:00
Cole Robinson
32456e5ed7 Make VNC grab alt+tab when focused
If using a tablet device, the user needed to force pointer grab with
ctrl+alt just to get all keyboard grab, otherwise the desktop caught
alt+tab.
2012-02-08 17:56:55 -05:00
Cole Robinson
13dd371e48 Don't let media polling block app if a connection goes down
If we unplug a remote machine we are connected to, doing the media
timeout with a gobject timeout means running it in the main thread,
which if it's blocking on the remote connection will freeze the whole
app.
2012-02-08 14:15:15 -05:00
Cole Robinson
4ddc0fb486 Fix a pep8 violation 2012-02-08 14:12:47 -05:00
Cole Robinson
14e66a27e0 prefs: Clarify 'force shortcut' tooltip a bit 2012-02-08 12:41:02 -05:00
Cole Robinson
fa6870869e host: Don't show error for all interfaces if one is busted 2012-02-08 07:26:06 -05:00
Cole Robinson
7f09d0b519 host: don't overload gtk by mashing refresh button
Reentrant issues can cause us to crash. Lock access
2012-02-07 19:05:45 -05:00
Cole Robinson
265e04205e Add VDI to disk format list
People actually distribute images in that format:

https://bugzilla.redhat.com/show_bug.cgi?id=761300
2012-02-07 17:13:59 -05:00
Cole Robinson
101d328ed6 addhw: Allow specifying empty cdrom/floppy devices 2012-02-07 16:51:16 -05:00
Cole Robinson
97d3b46b77 prefs: Fix setting key grab if we see a fake meta key
Like when pressing Shift_L + Alt_L. Match internally on actual hardware
keypress value.
2012-02-07 13:52:26 -05:00
Cole Robinson
e030c6bba0 Remove some debug, only to add a ton more ... 2012-02-07 13:50:48 -05:00
Cole Robinson
bbfed63153 Remove debugging cruft 2012-02-06 17:58:08 -05:00
Cole Robinson
c47fc54540 vnc: Fix accidental recursion we reporting grab keys 2012-02-06 17:57:14 -05:00
Cole Robinson
3ed2e14520 Log virtinst and virt-manager versions at startup 2012-02-04 08:41:33 -05:00
Cole Robinson
ca4714bf42 Update translations (and make em work with gtkbuilder) 2012-02-02 17:40:33 -05:00
Cole Robinson
f2eba998a1 Build system changes for UI move 2012-02-02 17:09:20 -05:00
Cole Robinson
738ec19ad4 host: Fix 'iface add' button sensitivity after inactive conn
Button can stay permanently disabled if we view host details
while a conn is inactive.
2012-02-02 16:58:21 -05:00
Cole Robinson
54d007b287 manager: Fix error reporting when can't connect remotely
Also rejigger the error building again to be more useful and
less scary in cases where we are pretty confident we know what the
problem is.
2012-02-02 16:45:18 -05:00
Cole Robinson
98d53d14fe create: Allow import installs on PV only xen host 2012-02-02 15:43:45 -05:00
Cole Robinson
ee7afb7679 Give a nice warning if GTK is too old for us 2012-02-02 14:37:37 -05:00
Cole Robinson
269b0096a5 F16 glade3 stomps our scroll policy, fix it
Problem is any time someone uses f16 glade3 to edit files, it's going to
strip out the policy again. Will just have to be dilligent.
2012-02-02 14:25:11 -05:00
Cole Robinson
8717e63687 Sanitize gtkbuilder XML for RHEL6
There's a pretty useless element added to ui files by f16 glade that
trips up RHEL6 gtk. If gtk is old enough, sanitize things.
2012-02-02 14:25:11 -05:00
Cole Robinson
9adab83715 Reinstate all combo box entries, f16 glade throws them away
Hardcode them in the python files, since for some reason glade
just can't be convinced to hang onto them. I know they are deprecated,
but only as of gtk 2.24 which is much newer than our current minimal
target of RHEL6 2.18
2012-02-02 14:19:59 -05:00
Cole Robinson
103c2e0da1 Convert UI files from glade to gtkbuilder
Glade is long since deprecated, and the 'glade' tool in F15 and up doesn't
even handle glade format files!

This effectively drops support for running virt-manager on a RHEL5 host,
which has a GTK that is too old to support gtkbuilder.

The process here was:
- On RHEL6, open all glade files with glade3, use Edit->Preferences to
  change format to gtk builder. (the gtk-builder-convert tool
  produced all sorts of brokenness, and f16 glade3 can't even open
  old glade files).
- Open these new files in glade on f16 and resave (since glade is
  notorious for reformatting files over new versions, saves churn
  the first time someone goes to patch the UI using a modern glade)
2012-02-02 14:17:50 -05:00
Cole Robinson
bc7f27a468 Prep for release 2012-01-31 20:23:23 -05:00
Cole Robinson
3090b48026 RHEL6 back compat 2012-01-31 20:13:47 -05:00
Cole Robinson
f4aa83e10f Fix pylint detection, and clean up the fallout 2012-01-31 19:07:32 -05:00
Cole Robinson
f42f3afe42 Add some debugging on dialog open/close 2012-01-31 18:16:54 -05:00
Cole Robinson
c3380ca700 Remove deprecated 'Encoding' field from desktop file 2012-01-31 17:52:26 -05:00
Cole Robinson
22307913a6 host: If a storage volume error, just hide it
Instead of breaking the whole pool view
2012-01-29 22:23:45 -05:00
Cole Robinson
ce694fc76e pool: When refreshing, update volume XML
Fixes changing storage format in UI on pool refresh.
2012-01-29 22:15:01 -05:00
Cole Robinson
3a28df0912 details: Disable send key toolbar menu when paused 2012-01-29 21:56:18 -05:00
Cole Robinson
edbd5191c0 console: Watch gconf for grab keys update 2012-01-29 21:51:20 -05:00
Cole Robinson
b7a533a451 create: s/Gb/GB/ for storage units 2012-01-29 21:51:07 -05:00
Cole Robinson
9679c841b8 Remove testing hack that broke serialcon 2012-01-29 21:19:12 -05:00
Cole Robinson
1de788d8c4 Fix some accelerator key issues 2012-01-29 21:14:30 -05:00
Brian J. Murrell
481e24006c createnet: Allow networks smaller than 16 addresses 2012-01-29 19:50:23 -05:00
Cole Robinson
173908d5b0 serialcon: Handle lack of vte module (with an error) 2012-01-29 19:00:45 -05:00
Cole Robinson
e830f91d27 serialcon: Some fixes for fast data transfer
Our glib integration had a defect that could cause stalls when streaming
a lot of data (like doing a cat /var/log/messages)

Also, add some tweaks to make the previously stated situation perform
better anyways.
2012-01-29 18:48:20 -05:00
Cole Robinson
a5cb785c62 Don't show useless PO output in network source mode list
Apparently _("") when running in a non-en locale returns the PO header.
A buglet was sticking the whole header in a combo box!
2012-01-29 16:21:39 -05:00
Cole Robinson
9c23dfa992 cli: Skip gettext setup if setting locale fails
Can happen if user provides a busted locale
2012-01-29 16:09:37 -05:00
Cole Robinson
680f44ec93 domain: Remove <address> when changing device models
Since it is basically like adding and removing a whole piece of
HW, some address elements may no longer be valid.
2012-01-29 15:40:53 -05:00
Cole Robinson
a0dee00678 domain: Only regenerate target if we really need to
Certain different devices like scsi, usb, and sata use the same
target prefix. In those cases, just reuse it.
2012-01-29 15:38:33 -05:00
Cole Robinson
18f68bb581 details: When changing disk bus, generate new target name
Since we are basically changing
2012-01-29 15:32:25 -05:00
Cole Robinson
f2d5ec4977 details: Allow using test driver for exotic disk buses 2012-01-29 15:32:13 -05:00
Cole Robinson
aae4005a0a details: Don't log exception if VM has no arch
Like xen Domain-0. Exception was harmless but not really useful
2012-01-29 13:07:16 -05:00