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:
2128be8
)
src/Palete/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 09:57:08 +0000
(17:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 May 2015 09:57:08 +0000
(17:57 +0800)
src/Palete/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Gtk.vala
b/src/Palete/Gtk.vala
index
90f8d08
..
a4e2913
100644
(file)
--- a/
src/Palete/Gtk.vala
+++ b/
src/Palete/Gtk.vala
@@
-251,7
+251,16
@@
namespace Palete {
}
-
+ public override bool typeOptions(string key, out string[] opts)
+ {
+ opts = {};
+ if (key.up() == "BOOL" || key.up() == "BOOLEAN") {
+ opts = { "true", "false" };
+ return true;
+ }
+ return false;
+
+ }
}
}