y1 += displacement->get_h() + 5;
add_subwindow(thumbnails = new ViewThumbnails(x1, y1, pwindow));
y1 += thumbnails->get_h() + 5;
- add_subwindow(perpetual = new PerpetualSession(x1, y1, pwindow));
+ PerpetualSession *perpetual = new PerpetualSession(x1, y1, pwindow);
+ add_subwindow(perpetual);
+ y1 += perpetual->get_h() + 5;
if( y < y1 ) y = y1;
}
return popup->handle_event();
}
-
PerpetualSession::PerpetualSession(int x, int y, PreferencesWindow *pwindow)
: BC_CheckBox(x, y,
pwindow->thread->preferences->perpetual_session, _("Perpetual session"))