projects
/
roobuilder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
:Revert "fix line numbering issues with vala generator - hopefully fixes completion...
[roobuilder]
/
src
/
Palete
/
ValaSource.vala
diff --git
a/src/Palete/ValaSource.vala
b/src/Palete/ValaSource.vala
index
92f9ac6
..
778cc5b
100644
(file)
--- a/
src/Palete/ValaSource.vala
+++ b/
src/Palete/ValaSource.vala
@@
-10,6
+10,8
@@
* x = new ValaSource();
* x.connect.compiled(... do something with results... );
*
* x = new ValaSource();
* x.connect.compiled(... do something with results... );
*
+
+ THIS IS NOT USED ?? - replaced with valacompilerequest
*
*/
*
*/
@@
-168,12
+170,12
@@
namespace Palete {
return false;
}
this.compiler.complete.connect(spawnResult);
return false;
}
this.compiler.complete.connect(spawnResult);
-
this.spinner(true
);
+
BuilderApplication.showSpinner("spinner", "compiling file"
);
try {
this.compiler.run();
} catch (GLib.Error e) {
GLib.debug("Error %s",e.message);
try {
this.compiler.run();
} catch (GLib.Error e) {
GLib.debug("Error %s",e.message);
-
this.spinner(false
);
+
BuilderApplication.showSpinner("face-sad", "compile failed %s".printf(e.message)
);
this.compiler = null;
this.deleteTemp();
return false;
this.compiler = null;
this.deleteTemp();
return false;
@@
-183,16
+185,7
@@
namespace Palete {
}
}
- public void spinner(bool state)
- {
- foreach (var win in BuilderApplication.windows) {
- if (state) {
- win.statusbar_compile_spinner.start();
- } else {
- win.statusbar_compile_spinner.stop();
- }
- }
- }
+
public bool checkFileSpawn(JsRender.JsRender file )
public bool checkFileSpawn(JsRender.JsRender file )