Update start/stop button based on VM state #689

Merged
clan-bot merged 2 commits from Mic92-wayland-update into main 2024-01-04 17:50:25 +00:00
Owner
No description provided.
clan-bot was assigned by Mic92 2024-01-04 17:43:40 +00:00
Mic92 added 1 commit 2024-01-04 17:43:40 +00:00
clan-bot was unassigned by Mic92 2024-01-04 17:45:55 +00:00
Mic92 force-pushed Mic92-wayland-update from 5f8ae0f7f5 to b2617ed216 2024-01-04 17:46:14 +00:00 Compare
Mic92 reviewed 2024-01-04 17:47:04 +00:00
@ -193,3 +187,2 @@
self.edit_button.set_sensitive(True)
self.start_button.set_sensitive(True)
self.stop_button.set_sensitive(True)
self.start_button.set_sensitive(vm.status == VMStatus.STOPPED)
Author
Owner

This could be potentially now replaced by just one button...

This could be potentially now replaced by just one button...
Owner

And the button should probably moved into the column that displays the VM.
Also there is still Start/Stop buttons in the context menu (on right click) which don't do anything anymore.

And the button should probably moved into the column that displays the VM. Also there is still Start/Stop buttons in the context menu (on right click) which don't do anything anymore.
Author
Owner

I think this will be done after the gtk4 refactor. With this list view it cannot be done.

I think this will be done after the gtk4 refactor. With this list view it cannot be done.
clan-bot was assigned by Mic92 2024-01-04 17:47:20 +00:00
Mic92 force-pushed Mic92-wayland-update from b2617ed216 to c7fda31ab3 2024-01-04 17:48:03 +00:00 Compare
clan-bot merged commit 96e2deee1f into main 2024-01-04 17:50:25 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: clan/clan-core#689
No description provided.