Use EDE_APPLICATION to init localization code and set default (and much saner) font size.

This commit is contained in:
Sanel Zukan
2010-03-28 12:54:45 +00:00
parent e4ec7c9861
commit 39b5181ad5
18 changed files with 100 additions and 54 deletions

View File

@@ -10,7 +10,7 @@
* See COPYING for details.
*/
#ifndef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -20,7 +20,7 @@
#include <FL/Fl.H>
#include <edelib/MessageBox.h>
#include <edelib/Window.h>
#include <edelib/Nls.h>
#include <edelib/Ede.h>
EDELIB_NS_USING(MessageBox)
EDELIB_NS_USING(MessageBoxType)
@@ -159,6 +159,8 @@ int main(int argc, char **argv) {
return EDE_DIALOG_ERROR_RET;
}
EDE_APPLICATION("ede-dialog");
/*
* Use a trick to load icon theme and colors using xsettings stuff. edelib::Window will load them
* and fill static FLTK values; every further window will use those values, including our will use them