diff --git a/Conscript b/Conscript index 932f1a7..8e87f41 100644 --- a/Conscript +++ b/Conscript @@ -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( @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..a75e0b4 --- /dev/null +++ b/README.md @@ -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 \ No newline at end of file diff --git a/content/focusmode.js b/content/focusmode.js index fb2b363..86d9e6b 100644 --- a/content/focusmode.js +++ b/content/focusmode.js @@ -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() { diff --git a/install.rdf b/install.rdf index 21fdc2d..ba01ac2 100644 --- a/install.rdf +++ b/install.rdf @@ -18,7 +18,7 @@ {36E66FA0-F259-11D9-850E-000D935D3368} 8.* - 9.1 + 9.* @@ -26,7 +26,7 @@ {b1042fb5-9e9c-11db-b107-000d935d3368} 8.* - 9.1 + 9.* diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..b3f1c7e Binary files /dev/null and b/screenshot.png differ