Commit Graph

2579 Commits

Author SHA1 Message Date
Cole Robinson
1e10c830b9 create: Show a warning if user doesn't specify an OS
Since it can have major performance implications.
2012-02-13 18:35:56 -05:00
Cole Robinson
f12f4ea198 create: reshow shouldn't overwrite values in visible dialog 2012-02-13 16:19:34 -05:00
Cole Robinson
fbef52dbfe prefs: Improve name/tooltip of console shortcut option 2012-02-13 16:13:11 -05:00
Cole Robinson
b2c95375a3 create: Only reboot VM if it had an install phase 2012-02-13 15:47:06 -05:00
Cole Robinson
7cb08a640a Use storage format default in addhw as well 2012-02-13 15:18:43 -05:00
Marc Deslauriers
cda1dd81f9 Fix dbus deprecation warning
(crobinso: fixed conflict, simplified import)
2012-02-13 15:10:00 -05:00
Cole Robinson
51360f8854 create: Fix infinite loop from idle callback 2012-02-13 14:55:59 -05:00
Cole Robinson
56265735b9 Add option to choose default disk image format 2012-02-13 14:49:00 -05:00
Cole Robinson
0c507ac98b Drop use of gtk threading
In general it complicates things for minor simplifications in some
cases. I think it's better just to learn that anything invoked from
a thread that _might_ touch the UI should just be dispatched in an
idle callback. Anything UI bits that we need immediately in a thread
can just use some creative trickery (like is done in connectauth) to
block in a safe manner.
2012-02-13 11:57:52 -05:00
Cole Robinson
239028e173 async: Use idle callbacks for UI updating
Rather than explicit locking. One step closer to dropping thread
locking.
2012-02-10 15:47:36 -05:00
Cole Robinson
dc78c01edc asyncjob: Provide helper to get meter wrapper 2012-02-10 12:12:15 -05:00
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