Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/ext/background.js

Issue 5838171610808320: Added high resolution icons for Retina displays (Closed)
Patch Set: Addressed comment Created April 3, 2014, 11:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « metadata.safari ('k') | safari/icons/abp-32.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/background.js
===================================================================
--- a/safari/ext/background.js
+++ b/safari/ext/background.js
@@ -240,7 +240,7 @@
},
setIcon: function(path)
{
- this._set("image", safari.extension.baseURI + path);
+ this._set("image", safari.extension.baseURI + path.replace("$size", "16"));
},
setBadge: function(badge)
{
« no previous file with comments | « metadata.safari ('k') | safari/icons/abp-32.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld