Bug 1106991 - Added missing icon for Hello's "tour". r=nperriault

This commit is contained in:
Romain Gauthier 2014-12-12 15:43:01 +01:00
parent 0a078a4858
commit 9cd5fbdc36
4 changed files with 13 additions and 2 deletions

View File

@ -319,7 +319,8 @@ loop.panel = (function(_, mozL10n) {
onClick: this.handleClickAccountEntry,
icon: "account",
displayed: this._isSignedIn()}),
SettingsDropdownEntry({label: mozL10n.get("tour_label"),
SettingsDropdownEntry({icon: "tour",
label: mozL10n.get("tour_label"),
onClick: this.openGettingStartedTour}),
SettingsDropdownEntry({label: this._isSignedIn() ?
mozL10n.get("settings_menu_item_signout") :

View File

@ -319,7 +319,8 @@ loop.panel = (function(_, mozL10n) {
onClick={this.handleClickAccountEntry}
icon="account"
displayed={this._isSignedIn()} />
<SettingsDropdownEntry label={mozL10n.get("tour_label")}
<SettingsDropdownEntry icon="tour"
label={mozL10n.get("tour_label")}
onClick={this.openGettingStartedTour} />
<SettingsDropdownEntry label={this._isSignedIn() ?
mozL10n.get("settings_menu_item_signout") :

View File

@ -680,6 +680,10 @@ body[dir=rtl] .generate-url-spinner {
background: transparent url(../img/svg/glyph-settings-16x16.svg) no-repeat center center;
}
.settings-menu .icon-tour {
background: transparent url("../img/icons-16x16.svg#tour") no-repeat center center;
}
.settings-menu .icon-account {
background: transparent url(../img/svg/glyph-account-16x16.svg) no-repeat center center;
}

View File

@ -122,6 +122,10 @@ use[id$="-red"] {
<polygon fill="#FFFFFF" points="2.08,11.52 2.08,4 8,4 8,2.24 0.32,2.24 0.32,13.28 8,13.28 8,11.52"/>
<polygon fill="#FFFFFF" points="15.66816,7.77344 9.6,2.27456 9.6,5.6 3.68,5.6 3.68,9.92 9.6,9.92 9.6,13.27232"/>
</g>
<path id="tour-shape" fill="#5A5A5A" d="M8,0C4.831,0,2.262,2.674,2.262,5.972c0,1.393,1.023,3.398,2.206,5.249l0.571,0.866C6.504,14.245,8,16,8,16
s1.496-1.755,2.961-3.912l0.571-0.866c1.182-1.852,2.206-3.856,2.206-5.249C13.738,2.674,11.169,0,8,0z M8,7.645
c-0.603,0-1.146-0.262-1.534-0.681C6.098,6.566,5.87,6.025,5.87,5.428c0-1.224,0.954-2.217,2.13-2.217s2.13,0.992,2.13,2.217
C10.13,6.653,9.177,7.645,8,7.645z"/>
</defs>
<use id="audio" xlink:href="#audio-shape"/>
<use id="audio-hover" xlink:href="#audio-shape"/>
@ -158,4 +162,5 @@ use[id$="-red"] {
<use id="video" xlink:href="#video-shape"/>
<use id="video-hover" xlink:href="#video-shape"/>
<use id="video-active" xlink:href="#video-shape"/>
<use id="tour" xlink:href="#tour-shape"/>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB