We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98a30cf commit 0848137Copy full SHA for 0848137
1 file changed
qui/tray/domains.py
@@ -203,19 +203,15 @@ def __init__(
203
icon_name="shutdown",
204
):
205
if force:
206
- super().__init__(
207
- vm,
208
- label=force_label or _("Force shutdown"),
209
- icon_cache=icon_cache,
210
- icon_name=icon_name,
211
- )
+ init_label = force_label or _("Force shutdown")
212
else:
213
214
215
- label=label or _("Shutdown"),
216
217
218
+ init_label = label or _("Shutdown")
+ super().__init__(
+ vm,
+ label=init_label,
+ icon_cache=icon_cache,
+ icon_name=icon_name,
+ )
219
self.force = force
220
self.follow_shift = follow_shift
221
0 commit comments