Warning: session_start(): open(/var/lib/php/sessions/sess_ti925gbhmaku4v37i0teoci3do, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
srecord noeq G22AutoStartPanel(G22Utils g22utils) {
G22AutoStarter autoStarter;
JButton btnCancel;
JLabel lblStatus;
cachedVisualize {
autoStarter = g22utils.autoStarter();
var vis = jCenteredSection("Auto Start Scripts",
northAndCenterWithMargin(
centerAndEastWithMargin(
btnCancel = jThreadedButton("Cancel", r { autoStarter.cancel() }),
jimageButtonScaledToWidth(16, editImageID(), "Edit auto-run scripts",
rThread { g22utils.projectActions().editScripts() })
),
vstackWithSpacing(
jCenteredLabel("(Hammer Ctrl to cancel)"),
lblStatus = jCenteredLabel()
)
));
bindListenerToComponent(lblStatus, autoStarter, r update);
ret vis;
}
void update {
setEnabled(btnCancel, autoStarter.enabled());
setText(lblStatus, autoStarter.status());
}
}