summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-08-13 15:24:56 +0200
committerjcid <devnull@localhost>2008-08-13 15:24:56 +0200
commita6fa6f80b4ea7beb4ee45a31d22268dcd883b7f0 (patch)
tree45ebbf54e170dd3298ccac6d7d11b070e57f762f /src/ui.cc
parent5b6c1e4e15be7a2408f043088d1e85658c846c57 (diff)
- Minor memory leak fix.
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 7e0d8e39..04215d2d 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -560,7 +560,7 @@ Group *UI::make_panel(int ww)
g1->end();
} else {
- g1 = new Group(0,0,ww,fh+lh+bh);
+ g1 = new Group(0,0,ww,fh+lh+bh+lh);
g1->begin();
// File menu
if (PanelSize == P_large) {
@@ -594,9 +594,14 @@ Group *UI::make_panel(int ww)
w = make_progress_bars(1,0);
}
pg->add(w);
-
- g3->resizable(pg); // Better than 'w3' and it also works
- pg->box(BORDER_FRAME);
+
+ w = new Widget(0,fh+lh+bh,ww,lh,"TABS P A N E L");
+ //w->box(EMBOSSED_BOX);
+ w->box( PLASTIC_UP_BOX);
+ g1->add(w);
+
+ g3->resizable(pg);
+ //pg->box(BORDER_FRAME);
//g3->box(EMBOSSED_BOX);
g3->end();