Removing debug code.

This commit is contained in:
Sanel Zukan 2011-10-26 16:19:21 +00:00
parent dc27ca1364
commit a23957a49e
2 changed files with 3 additions and 2 deletions

View File

@ -418,7 +418,6 @@ void Panel::load_applets(void) {
0
};
#if 0
String dir = Resource::find_data("panel-applets");
if(dir.empty())
return;
@ -430,7 +429,7 @@ void Panel::load_applets(void) {
}
mgr.fill_group(this);
#endif
#if 0
mgr.load("./applets/start-menu/start_menu.so");
mgr.load("./applets/quick-launch/quick_launch.so");
mgr.load("./applets/pager/pager.so");
@ -441,4 +440,5 @@ void Panel::load_applets(void) {
mgr.load("./applets/mem-monitor/mem_monitor.so");
mgr.load("./applets/system-tray/system_tray.so");
mgr.fill_group(this);
#endif
}

View File

@ -26,6 +26,7 @@ static Fl_RGB_Image *aspect_scale(Fl_RGB_Image *orig, int W, int H) {
TrayWindow::TrayWindow(int W, int H) : Fl_Window(W, H), img(0) {
box(FL_FLAT_BOX);
color(FL_BLUE);
}
void TrayWindow::set_image(Fl_RGB_Image *im) {