}
//_this[prop] += x.str_return;
if (_this.debug) {
- print(prop + ':' + x.str_return.replace(/\n/, ''));
+ stdout.print("%s : %s", prop , str_return);
}
if (this.async) {
try {
- if (imports.gi.Gtk.events_pending()) {
- imports.gi.Gtk.main_iteration();
+ if ( Gtk.events_pending()) {
+ Gtk.main_iteration();
}
} catch(Error e) {