This commit is contained in:
Joao Moreno 2017-12-04 15:56:11 +01:00
parent 6d5112610f
commit 62f7e112a5
4 changed files with 13 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"name": "code-oss-dev",
"version": "1.19.0",
"distro": "610ca6990cab94b59284327a3741a81630fe3b41",
"distro": "cc30898acea6eaa7bc65e7bd0d9ec355a47038db",
"author": {
"name": "Microsoft Corporation"
},

View file

@ -0,0 +1 @@
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><style>.st0{fill:#f6f6f6;fill-opacity:0}.st1{fill:#fff}.st2{fill:#167abf}</style><path class="st0" d="M1024 1024H0V0h1024v1024z"/><path class="st1" d="M1024 85.333v853.333H0V85.333h1024z"/><path class="st2" d="M0 85.333h298.667v853.333H0V85.333zm1024 0v853.333H384V85.333h640zm-554.667 160h341.333v-64H469.333v64zm341.334 533.334H469.333v64h341.333l.001-64zm128-149.334H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64z"/></svg>

After

Width:  |  Height:  |  Size: 559 B

View file

@ -6,4 +6,10 @@
.update-activity {
-webkit-mask: url('update.svg') no-repeat 50% 50%;
-webkit-mask-size: 22px;
}
/* HACK @bpasero @ben */
.file-icons-enabled .show-file-icons .release-notes-ext-file-icon.file-icon::before {
content: ' ';
background-image: url('code-icon.svg');
}

View file

@ -8,6 +8,7 @@
import { localize } from 'vs/nls';
import { TPromise } from 'vs/base/common/winjs.base';
import { EditorInput } from 'vs/workbench/common/editor';
import URI from 'vs/base/common/uri';
export class ReleaseNotesInput extends EditorInput {
@ -20,6 +21,10 @@ export class ReleaseNotesInput extends EditorInput {
super();
}
getResource(): URI {
return URI.from({ scheme: 'release-notes', path: `${this._version}.release-notes` });
}
getTypeId(): string {
return ReleaseNotesInput.ID;
}