add compiled-in defaults to output of fluxbox -info (thanks Matt Hope)
rathnor rathnor
2 files changed,
12 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 0.9.5: *03/07/19: + * Add compiled-in defaults to fluxbox -info (thanks Matt Hope) + main.cc * Redo ResourceManager so that it loads resources on registration, and only opens the database in blocks of requests (Simon) - fixes initial loading of init resources (e.g. toolbar.layer)
M
src/main.cc
→
src/main.cc
@@ -20,11 +20,12 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: main.cc,v 1.20 2003/07/11 15:03:02 fluxgen Exp $ +// $Id: main.cc,v 1.21 2003/07/18 15:44:36 rathnor Exp $ #include "fluxbox.hh" #include "I18n.hh" #include "version.h" +#include "defaults.hh" #ifdef HAVE_CONFIG_H #include "config.h"@@ -55,8 +56,15 @@ ostr<<"Unknown";
#endif ostr<<endl<<"Compiler version: "<<__VERSION__<<endl; + ostr<<endl<<"Defaults:"<<endl; + ostr<<" menu: "<<DEFAULTMENU<<endl; + ostr<<" style: "<<DEFAULTSTYLE<<endl; + + ostr<<" keys: "<<DEFAULTKEYSFILE<<endl; + ostr<<" init: "<<DEFAULT_INITFILE<<endl; + const char NOT[] = "-"; - ostr<<"Compiled options ("<<NOT<<" => disabled): "<<endl<< + ostr<<endl<<"Compiled options ("<<NOT<<" => disabled): "<<endl<< #ifndef DEBUG NOT<< #endif // DEBUG