Skip to content

Commit ea1130b

Browse files
committed
Fixed toolbar icon. Closes #4.
Note that the icon artwork is temporary.
1 parent f071ee1 commit ea1130b

File tree

8 files changed

+32
-13
lines changed

8 files changed

+32
-13
lines changed

xpi/chrome.manifest

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ content firesheep chrome/content/
22
skin firesheep classic/1.0 chrome/skin/
33
locale firesheep en-US chrome/locale/en-US/
44

5-
overlay chrome://browser/content/browser.xul chrome://firesheep/content/ff-overlay.xul
6-
style chrome://firesheep/content/ff-sidebar.xul chrome://firesheep/skin/sidebar-osx.css OS=Darwin
7-
style chrome://firesheep/content/preferences/prefsWindow.xul chrome://firesheep/skin/preferences-osx.css OS=Darwin
5+
overlay chrome://browser/content/browser.xul chrome://firesheep/content/browserOverlay.xul
6+
overlay chrome://global/content/customizeToolbar.xul chrome://firesheep/content/customizeToolbarOverlay.xul
7+
8+
style chrome://firesheep/content/sidebar.xul chrome://firesheep/skin/sidebar-osx.css OS=Darwin
9+
style chrome://firesheep/content/preferences/prefsWindow.xul chrome://firesheep/skin/preferences-osx.css OS=Darwin
810

911
resource firesheep modules/
1012

xpi/chrome/content/ff-overlay.js renamed to xpi/chrome/content/browserOverlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// ff-overlay.js
2+
// browserOverlay.js
33
// Part of the Firesheep project.
44
//
55
// Copyright (C) 2010 Eric Butler

xpi/chrome/content/ff-overlay.xul renamed to xpi/chrome/content/browserOverlay.xul

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-stylesheet href="chrome://firesheep/skin/overlay.css" type="text/css"?>
33

44
<!--
5-
ff-overlay.xul
5+
browserOverlay.xul
66
Part of the Firesheep project.
77
88
Copyright (C) 2010 Eric Butler
@@ -27,15 +27,18 @@
2727
<!DOCTYPE overlay SYSTEM "chrome://firesheep/locale/overlay.dtd">
2828

2929
<overlay id="firesheep-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
30-
<script src="ff-overlay.js"/>
30+
<script src="browserOverlay.js"/>
3131

3232
<stringbundleset id="stringbundleset">
3333
<stringbundle id="firesheep-strings" src="chrome://firesheep/locale/overlay.properties"/>
3434
</stringbundleset>
3535

3636
<toolbarpalette id="BrowserToolbarPalette">
37-
<toolbarbutton id="firesheep-toolbar-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
38-
label="&firesheepToolbarButton.label;" tooltiptext="&firesheepToolbarButton.tooltip;"
37+
<toolbarbutton
38+
id="firesheep-toolbar-button"
39+
class="toolbarbutton-1 chromeclass-toolbar-additional"
40+
label="&firesheepToolbarButton.label;"
41+
tooltiptext="&firesheepToolbarButton.tooltip;"
3942
oncommand="FiresheepUI.toggleSidebar()"/>
4043
</toolbarpalette>
4144

@@ -53,7 +56,7 @@
5356
autoCheck="false"
5457
type="checkbox"
5558
group="sidebar"
56-
sidebarurl="chrome://firesheep/content/ff-sidebar.xul"
59+
sidebarurl="chrome://firesheep/content/sidebar.xul"
5760
sidebartitle="&firesheepSidebar.label;"
5861
oncommand="FiresheepUI.toggleSidebar()" />
5962
</broadcasterset>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0"?>
2+
<?xml-stylesheet href="chrome://firesheep/skin/overlay.css" type="text/css"?>
3+
<overlay id="FirebugOverlay"
4+
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5+
</overlay>

xpi/chrome/content/ff-sidebar.js renamed to xpi/chrome/content/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// ff-sidebar.js
2+
// sidebar.js
33
// Part of the Firesheep project.
44
//
55
// Copyright (C) 2010 Eric Butler

xpi/chrome/content/ff-sidebar.xul renamed to xpi/chrome/content/sidebar.xul

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<?xml-stylesheet href="chrome://firesheep/skin/sidebar.css" type="text/css"?>
44

55
<!--
6-
ff-sidebar.xul
6+
sidebar.xul
77
Part of the Firesheep project.
88
99
Copyright (C) 2010 Eric Butler
@@ -30,8 +30,8 @@
3030
<page id="firesheepSidebar" title="&firesheepSidebar.label;"
3131
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
3232

33-
<script src="ff-sidebar.js"/>
34-
<script src="ff-overlay.js"/>
33+
<script src="sidebar.js"/>
34+
<script src="browserOverlay.js"/>
3535

3636
<vbox flex="1">
3737
<hbox id="toolbar">

xpi/chrome/skin/overlay.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#firesheep-toolbar-button {
2+
list-style-image: url('chrome://firesheep/skin/toolbar-button.png');
3+
}
4+
5+
toolbar[iconsize="small"] #firesheep-toolbar-button > .toolbarbutton-icon {
6+
list-style-image: url('chrome://firesheep/skin/toolbar-button.png');
7+
width: 16px;
8+
height: 16px;
9+
}

xpi/chrome/skin/toolbar-button.png

-285 Bytes
Loading

0 commit comments

Comments
 (0)