Skip to content

Commit

Permalink
icons: Use the correct name for the reboot icon
Browse files Browse the repository at this point in the history
According to the icon naming spec, the correct name to use for a reboot icon is `system-reboot` (and thus, `system-reboot-symbolic` for symbolic). Before this, we were using `system-restart-symbolic`, and had to provide an icon for this. This change increases compatibility with other icon themes, including Breeze, while retaining our own icon in case a theme does not provide it.

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
  • Loading branch information
EbonJaeger committed Jun 3, 2024
1 parent bfa86bb commit 369b03e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/icons/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ actions_icons = [
join_paths('.', 'actions', 'pane-hide-symbolic.svg'),
join_paths('.', 'actions', 'pane-show-symbolic.svg'),
join_paths('.', 'actions', 'system-log-out-symbolic.svg'),
join_paths('.', 'actions', 'system-restart-symbolic.svg'),
join_paths('.', 'actions', 'system-reboot-symbolic.svg'),
join_paths('.', 'actions', 'system-suspend-symbolic.svg'),
join_paths('.', 'actions', 'system-hibernate-symbolic.svg'),
]
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/power/window.vala
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace Budgie {
hibernate_button.clicked.connect(hibernate);
#endif

reboot_button = new DialogButton(_("_Reboot"), "system-restart-symbolic");
reboot_button = new DialogButton(_("_Reboot"), "system-reboot-symbolic");
reboot_button.clicked.connect(reboot);

shutdown_button = new DialogButton(_("Shut_down"), "system-shutdown-symbolic");
Expand Down
2 changes: 1 addition & 1 deletion src/panel/applets/user-indicator/UserIndicatorWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public class UserIndicatorWindow : Budgie.Popover {
lock_menu = new IndicatorItem(_("Lock"), "system-lock-screen-symbolic", false);
suspend_menu = new IndicatorItem(_("Suspend"), "system-suspend-symbolic", false);
hibernate_menu = new IndicatorItem(_("Hibernate"), "system-hibernate-symbolic", false);
reboot_menu = new IndicatorItem(_("Restart"), "system-restart-symbolic", false);
reboot_menu = new IndicatorItem(_("Restart"), "system-reboot-symbolic", false);
shutdown_menu = new IndicatorItem(_("Shutdown"), "system-shutdown-symbolic", false);

// Adding stuff
Expand Down

0 comments on commit 369b03e

Please sign in to comment.