projects
/
moonshot-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf54902
)
Add candidate add/clear methods
author
Alberto Ruiz
<aruiz@gnome.org>
Tue, 19 Jul 2011 10:53:40 +0000
(11:53 +0100)
committer
Alberto Ruiz
<aruiz@gnome.org>
Tue, 19 Jul 2011 16:33:49 +0000
(17:33 +0100)
src/moonshot-window.vala
patch
|
blob
|
history
diff --git
a/src/moonshot-window.vala
b/src/moonshot-window.vala
index
fefa091
..
6afaa23
100644
(file)
--- a/
src/moonshot-window.vala
+++ b/
src/moonshot-window.vala
@@
-69,6
+69,16
@@
class MainWindow : Window
connect_signals();
init_ipc_server();
}
+
+ public void add_candidate (IdCard idcard)
+ {
+ candidates.append (idcard);
+ }
+
+ public void clear_candidates ()
+ {
+ candidates = new SList<IdCard>();
+ }
private bool visible_func (TreeModel model, TreeIter iter)
{