Cole Robinson
a3f8d73a9c
libvirtobject: Unify internal status APIs and signals
...
Drop config-changes vs. status-changed and just use one signal, since they
are largely the same code paths for all users.
2015-04-10 15:00:34 -04:00
Cole Robinson
01bf07ba11
libvirtobject: Unify status signals
...
Dispatch them all from the actual object and not proxied through
the connection. Use the same signal name for all objects with the same
signature.
2015-04-10 15:00:33 -04:00
Guido Günther
1726505fd6
s/gconf/gsettings/
...
GConf got replaced by GSettings but some methods kept the old name
2014-09-29 08:56:37 -04:00
Cole Robinson
226c4562d5
virtManager: Switch to relative imports
2014-09-12 16:28:38 -04:00
Cole Robinson
7fcdd61920
manager: Expand logic to avoid colliding connection descriptions
...
And drop some unused code
2014-07-04 18:20:54 -04:00
Cole Robinson
aefd4c4824
connection: Use name instead of uuid for object keys
...
And clean up the API mess while we are at it. Treat the key as an opaque
value that users shouldn't depend on.
Besides the improved code clarity and API layout, this will help diagnose
'key error' issues, since we'll see an object name instead of UUID which
is hard to trace back.
2014-06-02 17:48:32 -04:00
Cole Robinson
196ff823b3
Fix warnings with latest pep8
2014-05-02 10:20:59 -04:00
Cole Robinson
a398d245cb
Clean up pylint integration
...
- Drop no longer needed disable= bits
- Use string names for all skipped pylint messages
2014-04-02 19:00:24 -04:00
Cole Robinson
8562c3258e
More pylint fixes
2014-03-22 11:21:19 -04:00
Cole Robinson
99eaf059ae
Fix deprecation warnings on F21/rawhide
2014-02-25 15:57:38 -05:00
Cole Robinson
c5581c01d2
Move sharedui.py to vmmenu.py
...
Since that's all it contains now
2014-01-29 09:22:28 -05:00
Cole Robinson
708a2737cf
Split uihelpers into sharedui and uiutil
...
Reserve uiutil for the little gtk helper functions, rest goes into shared
UI (which all should probably be factored into their own files but thats
a task for another day)
2014-01-26 18:15:50 -05:00
Giuseppe Scrivano
0df75c7603
headers: update "Red Hat, Inc." copyright for the year 2013
...
Ensure that any file touched by a @redhat.com author in 2013 has an
updated copyright header.
The files were updated using the build-aux/update-copyright gnulib
script and manually added where the copyright line wasn't present.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-10-28 17:22:26 +01:00
Cole Robinson
e91cc84770
uihelpers: Add VMActionMenu, share between manager and systray
2013-09-22 15:45:53 -04:00
Cole Robinson
268b462126
uihelpers: Add VMShutdownMenu class
...
And use it in all the places where we are duplicating a similar menu
2013-09-22 15:45:49 -04:00
Cole Robinson
9d87b0d342
Replace set_property("visible") with modern set_visible
2013-09-01 20:18:14 -04:00
Marc Deslauriers
b9cb73ec47
Switch AppIndicator code to use GObject introspection.
2013-07-29 14:45:06 -04:00
Cole Robinson
2b3604ceeb
systray: Fix pylint from appindicators
2013-06-14 11:03:48 -04:00
Eric Shattow
f2c0a77e3e
AppIndicator3 required with Gtk3 usage
...
$ ./virt-manager --debug
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:53:
PyGIDeprecationWarning: threads_init longer needs to be called. See:
https://bugzilla.gnome.org/show_bug.cgi?id=686914
PyGIDeprecationWarning)
2013-06-12 13:10:56,977 (cliutils:75): virt-manager startup
2013-06-12 13:10:56,978 (virt-manager:199): Launched as:
['./virt-manager', '--debug']
2013-06-12 13:10:56,978 (virt-manager:200): virt-manager version: 0.9.100
2013-06-12 13:10:56,978 (virt-manager:201): virtManager import:
<module 'virtManager' from
'/home/es/software/pubscm/virt-manager/virtManager/__init__.pyc'>
2013-06-12 13:10:57,167 (virt-manager:247): GTK version: 3.8.2
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning:
g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0'
failed
import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning:
specified class size for type 'PyGtkGenericCellRenderer' is smaller
than the parent type's 'GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning:
g_type_get_qdata: assertion 'node != NULL' failed
from gtk import _gtk
Segmentation fault (core dumped)
2013-06-14 09:09:08 -04:00
Cole Robinson
7e23244096
Port from gconf to gsettings
...
This unfortunately has a decent amount of fallout: add a wrapper class
in config.py that reduces much of the churn.
Another big piece is that gsettings can't accept arbitrary paths like
gconf would, everything needs to be described in the schema.
Also do a bunch more RPM spec modernizing
2013-04-18 12:43:16 -04:00
Cole Robinson
07e0c92b4b
Remove a bunch of outdates FIXME/XXX comments
2013-04-17 09:32:00 -04:00
Cole Robinson
0d243983d0
Revive pep8 and clean up the code
...
autopep8 is pretty cool :)
2013-04-13 15:22:43 -04:00
Cole Robinson
ae471007fc
Tons of misc pylint fixes
2013-04-13 13:40:29 -04:00
Cole Robinson
9515a8575d
Disable pylint warnings about gi.repository
...
Since pylint still can't handle the dynamic nature of gobject
introspection.
2013-04-12 08:27:45 -04:00
Cole Robinson
9d05583c26
Remove autotools, replace with distutils-extra
...
Despite being a known quantity, autotools is so overkill for our needs,
so let's drop it and replace it with a much simpler and easy to customize
system.
2013-04-03 18:20:51 -04:00