18 Commits

Author SHA1 Message Date
Cole Robinson
e0bc2563c7 error: Simplify basic show_err call
If no error details are specified, use the traceback from the most recent
exception. We were doing this in numerous callers anyways.
2011-04-06 11:22:03 -04:00
Cole Robinson
70ae1c2046 storagebrowser: Make sure we had default window titles 2010-12-09 14:33:04 -05:00
Cole Robinson
5c45358adc Remove 'config' passing from remaining classes/functions 2010-12-09 14:06:00 -05:00
Cole Robinson
0fd57daca1 pylint: Check for unused variables, fix fallout 2010-12-09 11:22:35 -05:00
Cole Robinson
2dd81900fa Have UI classes share a baseclass 2010-12-08 17:26:19 -05:00
Cole Robinson
1c3e7a1ea3 Remove some unneeded imports and old pylint workarounds 2010-11-30 15:01:02 -05:00
Cole Robinson
779dcdd824 Don't use old style __gobject_init__() 2010-11-30 14:40:49 -05:00
Cole Robinson
749b6cdc88 error: Simplify dialog init, remove a bunch of boilerplate 2010-11-30 14:33:21 -05:00
Cole Robinson
297c84bbc3 Clean up pylint 2010-05-05 16:16:15 -04:00
Cole Robinson
64765ec3d4 Use new VirtualDisk path_in_use_by helper 2010-03-03 17:48:22 -05:00
Cole Robinson
182eb4bcb6 Drop redundant calls to window.show() 2010-02-23 14:18:12 -05:00
Cole Robinson
352affbe3a Make 'Escape' key close dialogs
We should get this for free by using gtk Dialogs for our various UI pieces,
however the stock dialog is pretty restrictive WRT widget spacing, and
prevents us from make our nice blue header, so we are stuck with gtk.Windows
2009-12-14 16:45:55 -05:00
Cole Robinson
f78fe3c089 Numerous UI tweaks.
- Don't use custom button content, because it doesn't abide typical button
  gtk button + image preferences. This forces us to set the button image in
  the code since glade can't handle it.

- Use widget mnemonics _everywhere_

- Tweak some default widget focus, and other misc things.
2009-11-17 15:06:15 -05:00
Cole Robinson
90732990e0 storagebrowser: If creating new VM, have new vol name be based on vm name. 2009-11-15 15:57:38 -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
0e59e69428 Fix populating text box with storage browser selection in 'New VM' (bz 517263)
We were only properly setting the 'finish' callback for the first time the
storage browser was launched. All subsequent runs would not enter anything
in the associated text box.
2009-09-14 10:39:57 -04:00
Michal Novotny
fd480885bc Make virt-manager remember last used paths
This patch makes virt-manager remember last used paths for disk images, saved
snapshots, restored snapshots, media paths and also screenshot paths not to
bother users with changing paths from the default location per HV technology.
Useful when installing multiple domains and having all the media/image files
in non-default locations.
2009-06-23 19:30:12 -04:00
Cole Robinson
b1f69cffd8 Add libvirt storage aware file browser.
Hook it up to the New VM and Add Hardware wizards, all storage browsing.
2009-03-09 16:19:39 -04:00