projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d453382
)
Clones.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Sep 2011 03:50:17 +0000
(11:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Sep 2011 03:50:17 +0000
(11:50 +0800)
Clones.js
patch
|
blob
|
history
diff --git
a/Clones.js
b/Clones.js
index
cec036e
..
d37d8f7
100644
(file)
--- a/
Clones.js
+++ b/
Clones.js
@@
-113,6
+113,20
@@
Clones=new XObject({
xtype: Gtk.Button,
listeners : {
clicked : function (self) {
+
+ var rv = this.get('/reposView');
+
+ if (rv.el.get_selection().count_selected_rows() != 1) {
+ //nothing?
+ // error condition.
+ return;
+ }
+
+
+
+ var ret = {};
+ var s = rv.el.get_selection();
+ s.get_selected(ret);