Skip to content

Commit a6cdf7d

Browse files
committed
Fix prohibit-start selection & tooltip
1 parent 2395c89 commit a6cdf7d

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

qui/qubes-updater-base.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,16 @@ treeview.view:selected {
237237
color: @qubes-blue;
238238
font-weight: bold;
239239
}
240+
241+
tooltip {
242+
text-shadow: none;
243+
}
244+
245+
tooltip.background {
246+
border: 3px solid #555555;
247+
}
248+
249+
tooltip * {
250+
background-color: #E5E5E5;
251+
color: black;
252+
}

qui/updater/intro_page.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ def refresh_update_list(self, update_if_stale):
168168
if row.vm.name == "dom0":
169169
continue
170170
row.updates_available = bool(row.vm.name in to_update)
171-
row.selected = bool(row.vm.name in to_update)
171+
row.selected = bool(
172+
row.vm.name in to_update
173+
) and not row.vm.features.get("prohibit-start", False)
172174

173175
def get_vms_to_update(self) -> ListWrapper:
174176
"""Returns list of vms selected to be updated"""

0 commit comments

Comments
 (0)