add compiled-in defaults to output of fluxbox -info (thanks Matt Hope)
This commit is contained in:
parent
7e1733c435
commit
2e3bd41f4e
2 changed files with 12 additions and 2 deletions
|
@ -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)
|
||||
|
|
12
src/main.cc
12
src/main.cc
|
@ -20,11 +20,12 @@
|
|||
// 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 @@ void showInfo(ostream &ostr) {
|
|||
#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
|
||||
|
|
Loading…
Reference in a new issue