2007年12月11日星期二

修正Launchy在Thunberbird中独立邮件窗口里菜单不能显示的问题

在Thunderbird中碰到一些链接,需要调用外部程序(firefox或者d4x等)打开,于是安装了Launchy。但Launchy菜单可以在主窗口的邮件视图中出现,而在独立的邮件视图(双击列表栏一个邮件时打开的),这个菜单就没有出现了。

估计Launchy没有在独立邮件窗口注册overlay,但要去查邮件窗口的chrome url,也挺麻烦的。
我看ThunderBrowse的菜单工作得挺好,于是看了一下它的chrome.manifest,里面就三行overlay:
overlay chrome://global/content/customizeToolbar.xul chrome://tbrowse/content/accessbrowser.xul
overlay chrome://messenger/content/messenger.xul chrome://tbrowse/content/accessbrowser.xul
overlay chrome://messenger/content/messageWindow.xul chrome://tbrowse/content/accessbrowser.xul
而Launchy是这样
overlay chrome://browser/content/browser.xul chrome://launchy/content/main.xul
overlay chrome://messenger/content/messenger.xul chrome://launchy/content/main.xul

看名字就知道独立的邮件视图是messageWindow.xul,于是在launchy的chrome.manifest添加如下一行就可以了
overlay chrome://messenger/content/messageWindow.xul chrome://launchy/content/main.xul

1 条评论:

Eyja 说...




Finally got my debts of my neck and i have enough money saved for my Christmas shopping. It all happened as i stumbled into this email address blankatm002@gmail.com initially i was looking to get extra jobs to boost my salary and i found how the blank atm card from this company gives you more than $20,000 all in 1 month. At first i though it was another internet scheme until i saw several reviews of how this blank card from this company has changed the lives of many without hesitation i ordered for the card and in less than 7 days it was delivered to me and the agent showed me how it works and it was even tested its been just 3 weeks and everything seems a lot less stressful this company has really changed my life and standard of living. I would love you on this site to visit blankatm002@gmail.com and get a card today to ease that stress and get good money its so quick.