| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -117,8 +117,6 @@ |
| } |
| tab.browserAction.setIcon(iconFilename); |
| - tab.browserAction.setTitle(ext.i18n.getMessage("name")); |
| - |
| iconAnimation.registerTab(tab, iconFilename); |
| // Set context menu status according to whether current tab has whitelisted domain |
| @@ -411,6 +409,9 @@ |
| } |
| }); |
| +// Set icon title/tooltip globally |
| +ext.browserAction.setTitle(ext.i18n.getMessage("name")); |
|
Wladimir Palant
2014/01/16 09:10:05
If you take this route then there should also be a
Sebastian Noack
2014/01/16 12:45:02
I think it is fine as it is. the default icon is a
Wladimir Palant
2014/01/16 12:55:18
The difference however is: Chrome will reset the i
Sebastian Noack
2014/01/16 14:01:52
Yes, but we backup the default (which comes from I
Wladimir Palant
2014/01/17 07:54:36
Ok, I see - setting the image explicitly is indeed
|
| + |
| // Show icon as browser action for all tabs that already exist |
| ext.windows.getAll(function(windows) |
| { |