Skip to content

Commit

Permalink
Several updates to prep it for addon release
Browse files Browse the repository at this point in the history
  • Loading branch information
Naatan committed Jul 8, 2015
1 parent 862ebe6 commit f78335b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Conscript
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Copyright (c) 2010 ActiveState Software Inc.
# Copyright (c) 2015 ActiveState Software Inc.
# See the file LICENSE.txt for licensing information.

Import(
Expand All @@ -17,7 +17,7 @@ Import(
'mozIdlIncludePath',
);

$cons->KoExt("koinstall --packed");
$cons->KoExt("koinstall --unjarred");

# For quick development, comment out the "KoExt" call above and
# use the following. The first time this is run, it will setup the
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
![Screenshot](https://github.com/Komodo/Focus-Mode/blob/master/screenshot.png?raw=true)

Plain and simple, this adds a new keybinding and menu entry (under the View menu)
which allows you to quickly toggle all panes, toolbars and menus.

This will be built-in to Komodo 9.2 by default.

Note when using on Komodo 9.1 that due to a bug in that version the toggle menu
entry may not show up in the "unified menu" (burger menu).

Building
========

To build the Focus Mode addon please refer to the documentation on building an extension:

http://community.activestate.com/forum/introduction-building-komodo-extension

Note that this addon needs to be built using the --unjarred flag, ie.

koext build --unjarred
2 changes: 1 addition & 1 deletion content/focusmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
var active = prefs.getBoolean("focusmode_on", false);
var state = JSON.parse(prefs.getString("focusmode_state", "{}"));

log.setLevel(require("ko/logging").LOG_DEBUG);
//log.setLevel(require("ko/logging").LOG_DEBUG);

this.register = function()
{
Expand Down
4 changes: 2 additions & 2 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
<!-- Komodo IDE's uuid -->
<em:id>{36E66FA0-F259-11D9-850E-000D935D3368}</em:id>
<em:minVersion>8.*</em:minVersion> <!-- Workaround for alphanumeric versions - NOT tested on 8.* -->
<em:maxVersion>9.1</em:maxVersion>
<em:maxVersion>9.*</em:maxVersion>
</Description>
</em:targetApplication>
<em:targetApplication>
<Description>
<!-- Komodo Edit's uuid -->
<em:id>{b1042fb5-9e9c-11db-b107-000d935d3368}</em:id>
<em:minVersion>8.*</em:minVersion> <!-- Workaround for alphanumeric versions - NOT tested on 8.* -->
<em:maxVersion>9.1</em:maxVersion>
<em:maxVersion>9.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f78335b

Please sign in to comment.