Navigation Menu

Skip to content

Commit

Permalink
Fixed bug with multiple instances of button bar visible
Browse files Browse the repository at this point in the history
Added icons and screen shots used for submissions to apple for directory
  • Loading branch information
deasmi committed Aug 23, 2010
1 parent ab3f112 commit aada109
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 5 deletions.
Binary file added Builds/GoogleApps-2.1.1.safariextz
Binary file not shown.
Binary file added GoogleApps.safariextension/100x100_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added GoogleApps.safariextension/100x100_logo.pxm
Binary file not shown.
4 changes: 2 additions & 2 deletions GoogleApps.safariextension/Info.plist
Expand Up @@ -11,9 +11,9 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>2.1</string>
<string>2.1.1</string>
<key>CFBundleVersion</key>
<string>2.1</string>
<string>2.1.1</string>
<key>Chrome</key>
<dict>
<key>Bars</key>
Expand Down
Binary file added GoogleApps.safariextension/ScreenShot_425x275.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions GoogleApps.safariextension/global.html
Expand Up @@ -12,10 +12,14 @@
function findBar()
{
var bars = safari.extension.bars;
const activeBrowserWindow = safari.application.activeBrowserWindow;

for (var i = 0; i < bars.length; ++i) {
if (bars[i].identifier !== "googleappsbar")
continue;
return bars[i];
var bar = bars[i];
if (bar.identifier === "googleappsbar" && bar.browserWindow === activeBrowserWindow)
{
return bars[i];
}
}
return 0;
}
Expand Down
Binary file modified GoogleApps.safariextz 100644 → 100755
Binary file not shown.

0 comments on commit aada109

Please sign in to comment.