[Pkg-mozext-commits] [firetray] 153/399: fix quit from popup menu actually everywhere
David Prévot
taffit at alioth.debian.org
Tue Oct 29 18:23:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch dfsg-clean
in repository firetray.
commit 2cbe738398cfeb7cd7131faae28daf4cfda62684
Author: foudfou <foudil.newbie+git at gmail.com>
Date: Thu Jan 26 12:00:10 2012 +0100
fix quit from popup menu actually everywhere
---
src/modules/FiretrayVersionChange.jsm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/modules/FiretrayVersionChange.jsm b/src/modules/FiretrayVersionChange.jsm
index 1425434..76a7cee 100644
--- a/src/modules/FiretrayVersionChange.jsm
+++ b/src/modules/FiretrayVersionChange.jsm
@@ -114,11 +114,10 @@ firetray.VersionChange.openMailTab = function() {
}
if (tabmail) {
- var timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
- timer.initWithCallback({ notify: function() {
+ firetray.Utils.timer(function() {
LOG("openMailTab");
tabmail.openTab("contentTab", {contentPage: FIRETRAY_SPLASH_PAGE});
- }}, FIRETRAY_BROWSER_STARTUP_DELAY_MILLISECONDS, Ci.nsITimer.TYPE_ONE_SHOT);
+ }, FIRETRAY_DELAY_BROWSER_STARTUP_MILLISECONDS, Ci.nsITimer.TYPE_ONE_SHOT);
}
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git
More information about the Pkg-mozext-commits
mailing list