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:
@@ -33,7 +33,6 @@
|
||||
#include <FL/Fl_Menu_Button.H>
|
||||
#include <FL/x.H>
|
||||
|
||||
#include <edelib/Nls.h>
|
||||
#include <edelib/Color.h>
|
||||
#include <edelib/Window.h>
|
||||
#include <edelib/Resource.h>
|
||||
@@ -42,6 +41,7 @@
|
||||
#include <edelib/FontChooser.h>
|
||||
#include <edelib/Directory.h>
|
||||
#include <edelib/ForeignCallback.h>
|
||||
#include <edelib/Ede.h>
|
||||
|
||||
#define EDE_DESKTOP_CONFIG "ede-desktop"
|
||||
|
||||
@@ -363,6 +363,8 @@ int main(int argc, char** argv) {
|
||||
show_group = 3;
|
||||
}
|
||||
|
||||
EDE_APPLICATION("ede-desktop-conf");
|
||||
|
||||
edelib::Window* win = new edelib::Window(550, 285, _("Desktop options"), edelib::WIN_INIT_IMAGES);
|
||||
win->begin();
|
||||
Fl_Tabs* tabs = new Fl_Tabs(10, 10, 530, 230);
|
||||
|
Reference in New Issue
Block a user