mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Use EDE_APPLICATION to init localization code and set default (and much saner) font size.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user