Skip to content

Commit

Permalink
Following new naming for "Pin to Dash" entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommimon committed Apr 5, 2022
1 parent 257698f commit 7ed2eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortcutMaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function editIconClass(parentIcon) {

function insertAddToDesktopButton(menu) {
// look for both english and translated
let nameArray = ['Add to Favorites', 'Remove from Favorites', shell_gettext('Add to Favorites'), shell_gettext('Remove from Favorites')]
let nameArray = ['Pin to Dash', 'Unpin', shell_gettext('Pin to Dash'), shell_gettext('Unpin')]
let itemsArray = menu._getMenuItems();
let pos = -1;
for(let i = itemsArray.length-1; i >= 0; i--) {
Expand Down

0 comments on commit 7ed2eaa

Please sign in to comment.