projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead2664
)
Project/Project.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jun 2014 11:06:02 +0000
(19:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jun 2014 11:06:02 +0000
(19:06 +0800)
Project/Project.vala
patch
|
blob
|
history
diff --git
a/Project/Project.vala
b/Project/Project.vala
index
0cd0c6a
..
3e1f758
100644
(file)
--- a/
Project/Project.vala
+++ b/
Project/Project.vala
@@
-120,6
+120,16
@@
public class Project.Project : Object {
}
+ public string firstPath()
+ {
+ var iter = this.paths.map_iterator();
+ while (iter.next()) {
+ return iter.get_key();
+ }
+
+ return "";
+ }
+
// returns the first path
public string getName()
{