Code cleanup.

Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget.

Added license info in some code, but whole ede2 tree needs to be revised for that.
This commit is contained in:
Sanel Zukan
2012-05-30 10:23:27 +00:00
parent fde927b627
commit 39ffa8406b
13 changed files with 56 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ EDELIB_NS_USING(RES_SYS_ONLY)
static Atom _XA_XKB_RF_NAMES_PROP_ATOM = 0;
EDE_PANEL_APPLET_CLASS(KeyLayout, Fl_Button) {
class KeyLayout : public Fl_Button {
private:
bool should_show_flag;
String path, curr_layout;