Bug 601111 - Use Maemo back-button on desktop [r=vingtetung ui-r=beltzner]

This commit is contained in:
Mark Finkle 2010-10-01 10:56:56 -04:00
parent b70fb617ae
commit b103e5bc29
2 changed files with 7 additions and 7 deletions

View File

@ -261,7 +261,7 @@
<toolbarbutton id="tool-search" class="urlbar-cap-button" command="cmd_opensearch"/>
</hbox>
</hbox>
#ifdef MOZ_PLATFORM_MAEMO
#ifndef ANDROID
<toolbarbutton id="tool-app-close" class="urlbar-button button-image" command="cmd_close"/>
#endif
</toolbar>
@ -377,7 +377,7 @@
<toolbarbutton id="tool-downloads" type="radio" group="1" class="panel-button button-image" linkedpanel="downloads-container"/>
<toolbarbutton id="tool-addons" type="radio" group="1" class="panel-button button-image" linkedpanel="addons-container"/>
<toolbarbutton id="tool-console" type="radio" group="1" hidden="true" class="panel-button button-image" linkedpanel="console-container"/>
#ifdef MOZ_PLATFORM_MAEMO
#ifndef ANDROID
<spacer flex="1"/>
<toolbarbutton id="tool-panel-close" class="button-image" command="cmd_panel"/>
#endif

View File

@ -55,8 +55,8 @@ toolbarbutton.urlbar-button {
-moz-margin-start: 8px; /* core spacing */
}
%ifdef MOZ_PLATFORM_MAEMO
/* MAEMO only */
%ifndef ANDROID
/* MAEMO (and desktop) only */
#tool-app-switch {
margin-top: -8px; /* force the button to go to the edge */
margin-bottom: -8px; /* force the button to go to the edge */
@ -78,7 +78,7 @@ toolbarbutton.urlbar-button {
visibility: visible;
}
/* MAEMO only */
/* MAEMO (and desktop) only */
#tool-app-close {
margin-top: -8px; /* force the button to go to the edge */
margin-bottom: -8px; /* force the button to go to the edge */
@ -394,8 +394,8 @@ toolbarbutton.page-button {
list-style-image: url("chrome://browser/skin/images/settings-active-rtl-64.png");
}
%ifdef MOZ_PLATFORM_MAEMO
/* MAEMO only */
%ifndef ANDROID
/* MAEMO (and desktop) only */
#tool-panel-close {
-moz-margin-end: -8px; /* force the button to go to the edge */
-moz-padding-end: 8px !important; /* re-center the image */