Minimize to Tray and Sunbird
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Minimize to Tray and Sunbird
We all know the problem involved when installing this extension. Now, somewhere I read that the solution involves doing the following:
Solution: patch a Javascript file in the extension directory
\extensions\{31513E58-F253-47ad-86DB-D5F21E905429}\components\minimizeToTrayCmdLine.js
--
there, add a "return;" statement, immediatly after the function call:
cmdLineTest.prototype = {
return;
/* nsICommandLineHandler */
The person who was kind enough to provide the solution did not exactly tell people like myself how to proceed to apply his solution. Can anyone give me a clear explanation of how to proceed?
Solution: patch a Javascript file in the extension directory
\extensions\{31513E58-F253-47ad-86DB-D5F21E905429}\components\minimizeToTrayCmdLine.js
--
there, add a "return;" statement, immediatly after the function call:
cmdLineTest.prototype = {
return;
/* nsICommandLineHandler */
The person who was kind enough to provide the solution did not exactly tell people like myself how to proceed to apply his solution. Can anyone give me a clear explanation of how to proceed?
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
- Dustyakubra
- Posts: 115
- Joined: November 8th, 2004, 6:44 am
- Location: Adelaide, Ooorstraiilya
- Contact:
Works great for me I've submitted a patch to the bug.
Cameron
<a href="https://addons.mozilla.org">AMO Admin</a>.
<a href="https://addons.mozilla.org">AMO Admin</a>.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Posts: 13
- Joined: October 21st, 2004, 12:53 am
-
- Posts: 4
- Joined: April 4th, 2007, 8:11 pm
Cannot find minimizeToTrayCmdLine.js
Hi there -
I am having this double-loaded problem, and I scoured my hard drive for minimizeToTrayCmdLine.js; it's not in the location described above:
\extensions\{31513E58-F253-47ad-86DB-D5F21E905429}\components\minimizeToTrayCmdLine.js
In fact, the \extensions\{31513... folder does not have a \components folder in it...
What's up?
Thank you,
Shawn
I am having this double-loaded problem, and I scoured my hard drive for minimizeToTrayCmdLine.js; it's not in the location described above:
\extensions\{31513E58-F253-47ad-86DB-D5F21E905429}\components\minimizeToTrayCmdLine.js
In fact, the \extensions\{31513... folder does not have a \components folder in it...
What's up?
Thank you,
Shawn
-
- Posts: 4
- Joined: October 22nd, 2006, 7:25 am
-
- Posts: 10
- Joined: October 4th, 2004, 7:30 am
The file referred to is in the profile.
In Windows, typically, C:\Documents and Settings\user\Application Data\Mozilla\Sunbird\Profiles\xyz123
Then \Extensions\{315 etc}\components\minimizeToTrayCmdLine.js
Exit any running Sunbird.
Find the string, key:
return;
Save the file. Restart Sunbird.
and . . . it works!
In Windows, typically, C:\Documents and Settings\user\Application Data\Mozilla\Sunbird\Profiles\xyz123
Then \Extensions\{315 etc}\components\minimizeToTrayCmdLine.js
Exit any running Sunbird.
Find the string, key:
return;
Save the file. Restart Sunbird.
and . . . it works!
-
- Posts: 4
- Joined: October 22nd, 2006, 7:25 am
-
- Posts: 4
- Joined: October 31st, 2006, 11:15 pm
For installing minimizetotray in Sunbird 0.5, you need to edit the install.rdf in the .xpi and change the version number to 0.5
You can do this with 7zip or winrar etc...
Code: Select all
<Sunbird>
<Description>
<em>{718e30fb-e89b-41dd-9da7-e25a45638b28}</em>
<em>0.2</em>
<em>0.5</em>
</Description>
You can do this with 7zip or winrar etc...
-
- Posts: 1
- Joined: October 24th, 2007, 9:51 pm