diff options
author | Aditya Mangalampalli <aditya.mangalampalli@gmail.com> | 2022-04-15 02:00:25 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-16 21:57:57 +0530 |
commit | 210131ca184c3aa043371857c022aa1aa149efbf (patch) | |
tree | 6bc4e10a1540e55a66146c099bc468a12287425e /src/lib/Tray.js | |
parent | Update submodule url to ferdium-recipes (#1) (diff) | |
download | ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip |
Matched casing for almost all replacements
Diffstat (limited to 'src/lib/Tray.js')
-rw-r--r-- | src/lib/Tray.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index 549034e8d..878841213 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -37,8 +37,8 @@ export default class TrayIcon { | |||
37 | { | 37 | { |
38 | label: | 38 | label: |
39 | tray.mainWindow.isVisible() && tray.mainWindow.isFocused() | 39 | tray.mainWindow.isVisible() && tray.mainWindow.isFocused() |
40 | ? 'Hide Ferdi' | 40 | ? 'Hide Ferdium' |
41 | : 'Show Ferdi', | 41 | : 'Show Ferdium', |
42 | click() { | 42 | click() { |
43 | tray._toggleWindow(); | 43 | tray._toggleWindow(); |
44 | }, | 44 | }, |
@@ -53,7 +53,7 @@ export default class TrayIcon { | |||
53 | }, | 53 | }, |
54 | }, | 54 | }, |
55 | { | 55 | { |
56 | label: 'Quit Ferdi', | 56 | label: 'Quit Ferdium', |
57 | click() { | 57 | click() { |
58 | app.quit(); | 58 | app.quit(); |
59 | }, | 59 | }, |
@@ -71,7 +71,7 @@ export default class TrayIcon { | |||
71 | this.mainWindow = BrowserWindow.getAllWindows()[0]; | 71 | this.mainWindow = BrowserWindow.getAllWindows()[0]; |
72 | 72 | ||
73 | // listen to window events to be able to set correct string | 73 | // listen to window events to be able to set correct string |
74 | // to tray menu ('Hide Ferdi' / 'Show Ferdi') | 74 | // to tray menu ('Hide Ferdium' / 'Show Ferdium') |
75 | this.mainWindow.on('hide', () => { | 75 | this.mainWindow.on('hide', () => { |
76 | this._updateTrayMenu(null); | 76 | this._updateTrayMenu(null); |
77 | }); | 77 | }); |
@@ -114,7 +114,7 @@ export default class TrayIcon { | |||
114 | if (this.trayIcon) return; | 114 | if (this.trayIcon) return; |
115 | 115 | ||
116 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); | 116 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); |
117 | this.trayIcon.setToolTip('Ferdi'); | 117 | this.trayIcon.setToolTip('Ferdium'); |
118 | 118 | ||
119 | this.trayMenu = Menu.buildFromTemplate(this.trayMenuTemplate(this)); | 119 | this.trayMenu = Menu.buildFromTemplate(this.trayMenuTemplate(this)); |
120 | if (isLinux) { | 120 | if (isLinux) { |