donoban
22a9823871
Fix iterating and removing over list
...
Return after removing and raise exception if removable item not found
2018-11-25 18:37:34 +01:00
donoban
0ce73df57d
Use 'qube' instead 'Qube'
2018-11-25 18:16:40 +01:00
donoban
9a2975616d
Qube -> qube
2018-11-18 20:25:41 +01:00
donoban
287fc441f3
Catch possible KeyError when starting dispVM
2018-11-18 20:23:26 +01:00
donoban
935a6ca6c7
Fix authorship and python version
2018-11-18 20:22:27 +01:00
donoban
a39f3a64d0
Create backup_window on the stack
...
Otherwise it can casue an error:
RuntimeError: wrapped C/C++ object of type QProgressBar has been deleted
at line 1277
of file /usr/lib/python3.5/site-packages/qubesmanager/qube_manager.py.
I don't know how to avoid it.
2018-11-18 20:14:57 +01:00
donoban
cbc5d364bf
Removed sigchld_handler old code
2018-11-04 18:19:16 +01:00
donoban
5c8f19b598
Fix pylint
2018-10-27 13:21:33 +02:00
donoban
c42203098f
Do not terminate the thread
...
self.back_restore.canceled will do the abort
2018-10-27 13:00:19 +02:00
donoban
988b7a6479
Fix error/success message on dialog
2018-10-27 12:58:58 +02:00
donoban
6045f451c6
Fix opening settings/boot dialog after VM creation
2018-10-25 09:45:12 +02:00
donoban
7f572b5c81
Add pylint disable too-few-methods
2018-10-24 11:27:47 +02:00
donoban
fd1e5d740a
Fix travis errors
2018-10-24 10:58:36 +02:00
donoban
042ff808b3
Removed unused import
2018-10-24 10:14:48 +02:00
donoban
971ec085ee
Workaround for backup dialog modeless behaviour
...
Since now it's modeless, user could have already it opened
but we have to destroy it and recreate when closed for vm list
being refreshed (at least for now)
2018-10-24 10:05:43 +02:00
donoban
531b9daad2
Signal rewrite to new style
...
old is not supported in pyqt5
2018-10-24 09:46:16 +02:00
donoban
461cb7ae8c
Don't close main about dialog when close some child dialog
2018-10-24 09:45:29 +02:00
donoban
23e9ae8d33
Remove loop since we have vm name
2018-10-24 00:03:17 +02:00
donoban
e124d83edc
Removed processEvents() calls
2018-10-23 00:07:55 +02:00
donoban
9102d200bd
restart wizzard when wrong password or backup corrupted
...
fix: https://github.com/QubesOS/qubes-issues/issues/1589
2018-10-22 23:47:51 +02:00
donoban
0e951dc156
Deleted unused method show_error()
...
clear_threads() handles messages now
2018-10-22 20:03:20 +02:00
donoban
edb13aec17
Thread.error renamed to Thread.msg
...
Since it could be used for both error or sucess
messages, I think msg is a better name
2018-10-22 20:00:37 +02:00
donoban
60af90ec5f
Adding # pylint: disable=too-few-public-methods
2018-10-22 10:14:26 +02:00
donoban
4aea47c9f7
...
2018-10-21 22:52:52 +02:00
donoban
df15c4e3ae
Fix pylint warnings and errors
2018-10-21 22:38:41 +02:00
donoban
a7537a323a
Wops
...
I did not notice on my pylint because it complains about all imports
2018-10-21 00:16:23 +02:00
donoban
c46b38ab42
Travis3
2018-10-21 00:06:37 +02:00
donoban
f93908f5b7
Fix travis build2
2018-10-20 23:23:06 +02:00
donoban
831769d2dd
Fix travis build
2018-10-20 23:01:35 +02:00
donoban
38051ad243
Fixes in ProgressDialogs and settings window close
2018-10-20 22:09:39 +02:00
donoban
2347f75633
Clear SearchBox with ESC key
2018-10-20 21:54:25 +02:00
donoban
ad1bcc55b9
Deleted unneded method _clone_vm()
2018-10-20 21:25:13 +02:00
donoban
11cc8b7a67
Remove debug print
2018-10-20 19:20:39 +02:00
donoban
29ca4eb3a8
Migration from python threads and to QThread obj
...
Simple design and better performance, just start() thread and finished
call back will show any error or msg, stop progress dialog and do cleanup.
Full remove of QT process_events() calls.
2018-10-20 18:34:15 +02:00
donoban
35cdf5e1e5
Modeless backup window
...
Let the main window work while doing backups
2018-10-20 16:50:45 +02:00
donoban
759dc5412c
Pylint ident warnings
2018-10-20 16:49:50 +02:00
donoban
76b6de9d00
removed subprocess.check_call()
...
This way modal works better (in KDE the main window goes gray).
2018-10-20 16:43:15 +02:00
donoban
612cfc15d6
Loading Qube Manager progress using setValue()
...
This is the recommended QT way for updating the progress bar.
setMininumDuration() sets the time when the progress dialog will appear,
if it finishes before it won't be shown. Qt default is 4 seconds, maybe
pretty high for this case.
2018-10-20 16:33:25 +02:00
donoban
228aaed2f4
Removed progress.setWindowFlags() call
...
I am not sure what this wants, but it seems that doesn't affect
xfce but on kde does the progress bar appear randomly in the screen
without it on both cases it appears at center of screen
2018-10-20 16:28:19 +02:00
donoban
af8bc69314
Revert "Deleted unneeded thread_monitor"
...
This reverts commit fea560b5cd
.
2018-10-18 15:53:35 +02:00
donoban
fea560b5cd
Deleted unneeded thread_monitor
2018-10-18 14:13:20 +02:00
donoban
b45f318a3a
Just moved method to better place
2018-10-18 14:13:06 +02:00
donoban
afcdba3029
Replaced python threading with QThreads
2018-10-18 14:11:25 +02:00
Marek Marczykowski-Górecki
693f3e411c
version 4.0.22
2018-10-10 02:46:05 +02:00
Marek Marczykowski-Górecki
11e0da392f
Merge remote-tracking branch 'origin/pr/128'
...
* origin/pr/128:
Modified VM settings to make 'refresh apps' button clearer
2018-09-29 13:56:02 +02:00
Marek Marczykowski-Górecki
70adf9cca9
Merge remote-tracking branch 'origin/pr/127'
...
* origin/pr/127:
Changed blank kernelopts in VM settings from [] to -
Fixed kernelopts in VM settings
2018-09-29 13:53:50 +02:00
Marta Marczykowska-Górecka
4ff111eb81
Changed blank kernelopts in VM settings from [] to -
...
as requested by @marmarek
2018-09-27 21:34:56 +02:00
Marta Marczykowska-Górecka
a8afec6676
Modified VM settings to make 'refresh apps' button clearer
...
The button was too wide and difficult to interact with.
2018-09-27 20:21:27 +02:00
Marta Marczykowska-Górecka
bc15ef91ec
Fixed kernelopts in VM settings
...
For some reason, they were not being displayed at all. Now fixed.
fixes QubesOS/qubes-issues#4188
2018-09-21 14:09:07 +02:00
Marta Marczykowska-Górecka
f618716548
Fix error on refresh when a VM has vanished
...
Fixes error that can occur when VM-removed and VM-changed
events fire too closely together.
fixes QubesOS/qubes-issues#4317
2018-09-21 12:46:49 +02:00