Cole Robinson
9fcf63b559
baseclass: Prevent a pylint warning about bind_escape_key_close
2011-04-28 14:38:46 -04:00
Cole Robinson
90679a0a0b
Store running_config in util, not config.py
...
Will help with TUI integration
2011-04-18 13:24:23 -04:00
Cole Robinson
2fa12ffa15
Move bind_escape_key_close helper to baseclass
2011-04-18 11:25:28 -04:00
Cole Robinson
de8c901d7b
Move idle wrappers to baseclass
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-18 11:13:33 -04:00
Cole Robinson
b7de618897
Move connect helpers from util to baseclass
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-18 11:13:33 -04:00
Cole Robinson
ad8060d191
baseclass: Fix early error reporting before we setup running_config
2011-04-15 18:38:29 -04:00
Cole Robinson
fc6814d186
baseclass: Use logging for logtrace
2011-04-14 12:51:52 -04:00
Cole Robinson
f2781ee62a
Properly cleanup all dialogs
...
On app close, all dialogs are properly cleaned up so there are no
dangling references and python can garbage collect.
While this isn't that important when the app shuts down, it ensures that
lifecycle changes while the app is running (vm start/stop/remove, conn
start/stop/remove) have the infrastructure to properly release resources.
2011-04-13 10:20:47 -04:00
Cole Robinson
a52ad2eb37
details: Properly cleanup when VM/conn disappears
...
Make sure we are properly freeing all our state, so python can reap domains
and conn instances
2011-04-11 18:35:21 -04:00
Cole Robinson
a83fe73b1e
error: Subclass vmmGObject
...
Gives us lifecycle tracking and useful helpers like refcount
2011-04-11 16:26:41 -04:00
Cole Robinson
d74066da21
baseclass: Simplify cleaning up gobject signals
...
Just add a custom connect/disconnect to keep track of the signals for us.
2011-04-11 16:16:07 -04:00
Cole Robinson
85340ca491
baseclass: Track object lifetime to help debug ref leaks
2011-04-11 12:54:47 -04:00
Cole Robinson
586f7b3274
domain: Fix ref count issues preventing proper cleanup
...
Make sure we unregister all callbacks so that the domain object
is properly reaped by python. Mediadev has somewhat similar issues,
so handle that.
2011-04-11 12:01:28 -04:00
Cole Robinson
d0d20148f7
asyncjob: Simplify error reporting
2010-12-10 09:57:42 -05:00
Cole Robinson
5c45358adc
Remove 'config' passing from remaining classes/functions
2010-12-09 14:06:00 -05:00
Cole Robinson
2dd81900fa
Have UI classes share a baseclass
2010-12-08 17:26:19 -05:00