1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-10 21:45:47 +01:00

Get rid of apparently redundant QIs.

This commit is contained in:
Kris Maglione
2011-03-19 01:12:22 -04:00
parent b7eb21139a
commit 57dbc1b913
5 changed files with 10 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ var ConfigBase = Class("ConfigBase", {
if (/pre$/.test(this.addon.version)) {
let uri = this.addon.getResourceURI("../.hg");
if (uri instanceof Ci.nsIFileURL &&
uri.QueryInterface(Ci.nsIFileURL).file.exists() &&
uri.file.exists() &&
io.pathSearch("hg"))
return uri.file.parent.path;
}
@@ -505,10 +505,10 @@ var ConfigBase = Class("ConfigBase", {
StatusLineSecure;[dactyl|highlight] color: black !important; background: #a0a0FF !important; /* light-blue */
StatusLineExtended;[dactyl|highlight] color: black !important; background: #a0FFa0 !important; /* light-green */
TabClose;.tab-close-button
TabIcon;.tab-icon min-width: 16px;
TabText;.tab-text
TabNumber font-weight: bold; margin: 0px; padding-right: .8ex; cursor: default;
!TabClose;.tab-close-button
!TabIcon;.tab-icon,.tab-icon-image
!TabText;.tab-text
TabNumber font-weight: bold; margin: 0px; padding-right: .8ex; cursor: default;
TabIconNumber {
cursor: default;
width: 16px;