Marek Marczykowski-Górecki
d78e5b7b40
Workaround KDE notification, which ignores '\n' ( #844 )
2014-05-05 02:15:37 +02:00
Wojciech Zygmunt Porczyk
52f12abd36
qubesmanager/main.py: always display icons in menus
...
This commit is part of #721 fix.
2014-04-30 15:03:09 +02:00
Marek Marczykowski-Górecki
978af55bbb
Minor error message handling fix
2014-04-24 12:58:38 +02:00
Marek Marczykowski-Górecki
a84ebe56e8
Disable increment size hints
...
Window size is fixed (calculated based on VMs count etc) so it isn't
useful. Without correctly calculated base size hint it can cause wrong
manager window size. It actually happens on fc20 in dom0.
2014-04-02 03:29:57 +02:00
Marek Marczykowski-Górecki
ad99db9ca9
Add "Block devices" menu to context menu of tray icon ( #781 )
2014-03-31 18:38:17 +02:00
Marek Marczykowski-Górecki
aec32da2f1
Create "global" objects in main(), not VmManagerWindow
...
To have them outside of VmManagerWindow instance - possibly passed
through to other objects.
2014-03-31 18:36:00 +02:00
Marek Marczykowski-Górecki
227597cf93
Add 'Requested MEM' column (aka prefmem) ( #788 )
2014-03-31 03:44:01 +02:00
Marek Marczykowski-Górecki
55d5bf0262
Split QubesBlockDevicesManager and table widgets into separate files
...
The main.py was ridiculously large - almost half of all Qubes Manager
code in one file.
2014-03-31 01:17:27 +02:00
Marek Marczykowski-Górecki
f79a1ed42e
Clear startup errors when VM finally is running ( #799 )
2014-03-24 03:45:55 +01:00
Marek Marczykowski-Górecki
9cc18228a0
Tell the KDE that clipboard notify uses HTML ( #797 )
...
Apparently KDE parses HTML tags in tray notifications only when some of
them appears on the first line of the message. So add some there.
This doesn't affect Xfce, which always parses HTML tags.
2014-03-11 02:10:11 +01:00
Marek Marczykowski-Górecki
ef90176747
Add VM name to block attach/detach notify ( #797 )
2014-03-10 05:21:22 +01:00
Marek Marczykowski-Górecki
e17e69dff3
Add Last backup date column ( #798 )
2014-03-10 04:28:30 +01:00
Marek Marczykowski-Górecki
55a965e5bd
Add IP and included in backups columns ( #735 , #798 )
2014-03-10 04:27:52 +01:00
Marek Marczykowski-Górecki
b536df4a79
Add option to start HVM with Qubes Tools installation iso attached ( #744 )
2014-02-23 01:32:50 +01:00
Marek Marczykowski-Górecki
0381a54156
Remove VM files when clone failed
2014-02-23 00:49:28 +01:00
Marek Marczykowski-Górecki
c0718a484d
First remove VM from qubes.xml ( #765 )
...
So it will be removed regardless whether removing the files failed or
not.
2014-02-23 00:49:07 +01:00
Marek Marczykowski-Górecki
3ea49b5192
Remove trailing semicolons
2014-02-23 00:44:08 +01:00
Marek Marczykowski-Górecki
0454524d93
Update audio-input availability after VM startup
...
The pulseaudio agent register itself when it connects to the VM, so
after VM reports "Running" state.
2014-01-23 16:41:01 +01:00
Marek Marczykowski-Górecki
9b3fcc0855
Stabilize sorting order
...
In case of equal value in column, resolve order using QID. This ensures
preserving rows order across reload, data update etc.
2014-01-22 01:23:10 +01:00
Marek Marczykowski-Górecki
386c155dd5
Fix clone action
2013-12-14 02:55:41 +01:00
Marek Marczykowski-Górecki
4fdfe44b11
Force refresh on manager show ( #759 )
...
But still collecting all the data takes some time...
2013-12-03 00:36:48 +01:00
Marek Marczykowski-Górecki
f587ac2d43
Adjust for new QubesVmCollection.save() implementation
...
Watch for MOVED_TO events in /var/lib/qubes directory to reload
qubes.xml.
2013-12-02 04:03:05 +01:00
Marek Marczykowski-Górecki
77cc22824b
Use Standalone/AppVM icon for HVM
...
Instead of separate HVM icon.
2013-11-22 16:39:19 +01:00
Marek Marczykowski-Górecki
80066c3f72
One more update for the new API
2013-11-21 04:21:47 +01:00
Marek Marczykowski-Górecki
c11c42e2f7
Show the correct icon for HVM
...
Not standalone/template one.
2013-11-21 02:25:27 +01:00
Marek Marczykowski-Górecki
0f28fc7855
Preserve VM selection during table update
2013-10-18 04:20:19 +02:00
Marek Marczykowski-Górecki
b1ad497579
Update log filenames - now qrexec and guid have VM name instead of XID
2013-10-18 03:40:21 +02:00
Marek Marczykowski-Górecki
dcec8b566f
Remove some debugging code
2013-10-18 03:37:22 +02:00
Marek Marczykowski-Górecki
fa61fceddd
Fix watching clipboard change when the file initially doesn't exists ( #749 )
...
When the file doesn't exists, adding a watch fails. So monitor directory
for IN_CREATE event and when file is created - add the modify watch.
This watch will miss the first update (rather: create), so fire it
in IN_CREATE handler.
2013-10-18 03:33:56 +02:00
Marek Marczykowski-Górecki
19b9ffefda
Catch the exception on device attach/detach
...
Take care to release lock before anything else, otherwise GUI will
be frozen...
2013-10-02 01:10:58 +02:00
Marek Marczykowski
da0d0c29b8
Get current release from /etc/qubes-release for about window
2013-04-25 16:09:03 +02:00
Marek Marczykowski
0f175b5c92
Fix showing inactive VMs
...
Previously if Qubes Manager was started with inactive VMs hidden,
toggling "show inactive VMs" option wasn't enough to show them. This is
because we set RowHidden to False only when both show_inactive and
show_internal are set.
This commit fixes the issue.
2013-04-13 04:14:00 +02:00
Marek Marczykowski
3994038d76
Store various VM state in one dict, not random attributes
...
Storing some Qubes Manager specific properties in QubesVm object isn't
completely right, but if do so, try to keep them in one dict, not bunch
of attributes. Index this dict with named "enum" (implemented as class)
entries.
2013-04-13 04:10:13 +02:00
Marek Marczykowski
009782189c
Update button: expire cache before checking for updates
2013-04-13 03:13:37 +02:00
Marek Marczykowski
47669aac4e
Replace direct xl calls with proper QubesVM methods
2013-04-13 03:12:58 +02:00
Marek Marczykowski
e0a15c12d4
Replace dbus-python with QtDBus
...
dbus-python seems to be not thread safe. After "881ee76 Merge qclipd
into qubes-manager" this occasionally triggers SEGV.
QtDBus seems to be somehow less robust:
- doesn't automatically convert methods arguments to proper types based
on introspection data
- property access isn't working so must call
org.freedesktop.DBus.Properties methods manually
But besides those problems seems to work stable.
2013-04-13 02:54:24 +02:00
Marek Marczykowski
59dcefefe1
The Underscores Revolution: qubes-clipboard filename
2013-03-19 13:22:31 +01:00
Marek Marczykowski
bc485d2928
Update imports to match new qubes global settings layout
2013-03-16 21:07:53 +01:00
Marek Marczykowski
ff15208e8f
Do not import qubes_guid_path (not used anywhere)
2013-03-16 20:53:47 +01:00
Marek Marczykowski
881ee76709
Merge qclipd into qubes-manager
...
Have all gui-notification code in one place.
TODO: Change python-dbus to QtDBus, which should better support threads
(current version occasionally gets SEGV...).
2013-03-12 15:56:40 +01:00
Olivier Medoc
cff51fdabd
mainui: Changed the showhide algorithm to handle internal VMs
...
Additionnally, the windows resizing algorithm has been changed to use the count of displayed internal VMs.
2013-03-09 00:07:48 +01:00
Olivier Medoc
268c9a9d94
mainui: implemented show/hide internal VMs
2013-03-09 00:07:48 +01:00
Olivier Medoc
70e0a2b97a
mainui: Added show/hide internal VMs in the view menu
2013-03-09 00:07:47 +01:00
Olivier Medoc
dded0ba510
mainui: hide the Internal column by default
2013-03-09 00:07:47 +01:00
Olivier Medoc
effe24b20e
mainui: added the Internal column to show if the VM is internal
2013-03-09 00:07:47 +01:00
Marek Marczykowski
d48ed3ca57
Use local time in shutdown monitor
...
vm.get_start_time() is in local time, so compare it also with local time, not
the UTC one.
2013-02-23 16:18:43 +01:00
Marek Marczykowski
74f9bcd6f7
Mark paused VMs with grey icon ( #707 )
2013-02-20 23:08:18 +01:00
Marek Marczykowski
ab5fca6e19
Dot allow to run command in paused VM
2013-02-19 03:33:01 +01:00
Marek Marczykowski
de27483948
Allow killing paused VM
2013-02-19 03:32:49 +01:00
Marek Marczykowski
1477c8e90c
Display memory size even if VM isn't running.
...
This covers the case of paused and halting VMs.
2013-02-19 03:32:03 +01:00