Warning: session_start(): open(/var/lib/php/sessions/sess_9pprif8ac7vod17vs6lc5oun54, 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
!7
concept Profile {
S name, options;
}
module VNCViewerTrayIcon > DynCRUD {
transient TrayIcon trayIcon;
*() { super(Profile); }
start {
db();
onConceptsChangeAndNow(r makeTrayIcon);
}
void makeTrayIcon enter {
disposeTrayIcon(trayIcon);
L menuItems = ll(r launchVNCViewer);
for (final Profile p)
addAll(menuItems, p.name, r { launchVNCViewer(p.options) });
add(menuItems, "---");
addAll(menuItems, "VNC Viewer Connection Dialog", r launchVNCViewer);
addAll(menuItems, "Edit Profiles...", r dm_activateOSAndModule);
trayIcon = installTrayIcon(#1101468, "Start VNC Viewer",
toObjectArray(menuItems));
}
void cleanMeUp {
disposeTrayIcon(trayIcon);
}
}