File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ def run_dialog(self):
253253 self .button_logout .set_visible (True )
254254 default_button = self .button_logout
255255 self .action_icon .set_from_icon_name ("system-log-out-symbolic" , Gtk .IconSize .DIALOG )
256+ self .window .set_icon_name ("system-log-out" )
256257 elif self .mode == Action .SHUTDOWN :
257258 self .dialog_label .set_text (_ ("Shut down this system now?" ))
258259 self .button_suspend .set_visible (can_suspend )
@@ -261,6 +262,7 @@ def run_dialog(self):
261262 self .button_shutdown .set_visible (can_stop )
262263 default_button = self .button_shutdown
263264 self .action_icon .set_from_icon_name ("system-shutdown-symbolic" , Gtk .IconSize .DIALOG )
265+ self .window .set_icon_name ("system-shutdown" )
264266 elif self .mode == Action .RESTART :
265267 if not can_restart :
266268 print ("Restart not available" )
@@ -270,6 +272,7 @@ def run_dialog(self):
270272 self .button_restart .set_visible (True )
271273 default_button = self .button_restart
272274 self .action_icon .set_from_icon_name ("system-reboot-symbolic" , Gtk .IconSize .DIALOG )
275+ self .window .set_icon_name ("system-reboot" )
273276
274277 default_button .get_style_context ().add_class ("destructive-action" )
275278
You can’t perform that action at this time.
0 commit comments