projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Builder3/Window.js
[app.Builder.js]
/
Builder3
/
Window.js
diff --git
a/Builder3/Window.js
b/Builder3/Window.js
index
1490f35
..
52f8869
100644
(file)
--- a/
Builder3/Window.js
+++ b/
Builder3/Window.js
@@
-7,7
+7,7
@@
GObject = imports.gi.GObject;
GtkSource = imports.gi.GtkSource;
WebKit = imports.gi.WebKit;
Vte = imports.gi.Vte;
GtkSource = imports.gi.GtkSource;
WebKit = imports.gi.WebKit;
Vte = imports.gi.Vte;
-GtkClutter = imports.gi.GtkClutter;
+
//
GtkClutter = imports.gi.GtkClutter;
console = imports.console;
XObject = imports.XObject.XObject;
Window=new XObject({
console = imports.console;
XObject = imports.XObject.XObject;
Window=new XObject({
@@
-635,11
+635,11
@@
Window=new XObject({
return true;
},
drag_data_received : function (self, ctx, x, y, sel_data, info, time) {
return true;
},
drag_data_received : function (self, ctx, x, y, sel_data, info, time) {
- print("Tree: drag-data-received");
+
print("Tree: drag-data-received");
var delete_selection_data = false;
var dnd_success = false;
var delete_selection_data = false;
var dnd_success = false;
- print(JSON.stringify(sel_data, null,4));
+
//
print(JSON.stringify(sel_data, null,4));
/* Deal with what we are given from source */
// simce I can not be bothered to sort out
/* Deal with what we are given from source */
// simce I can not be bothered to sort out
@@
-2990,9
+2990,9
@@
Window=new XObject({
this.el.execute_script("Builder.overPos(" + x +','+ y + ");");
// A) find out from drag all the places that node could be dropped.
this.el.execute_script("Builder.overPos(" + x +','+ y + ");");
// A) find out from drag all the places that node could be dropped.
- var src = Gtk.drag_get_source_widge(ctx);
+ var src = Gtk.drag_get_source_widge
t
(ctx);
if (!src.dropList) {
if (!src.dropList) {
-
ctx.drag_status(
0, time);
+
Gdk.drag_status(ctx,
0, time);
return true;
}
// b) get what we are over.. (from activeNode)
return true;
}
// b) get what we are over.. (from activeNode)
@@
-4022,7
+4022,7
@@
Window=new XObject({
var iret = {};
var s = this.selection;
s.get_selected(iret);
var iret = {};
var s = this.selection;
s.get_selected(iret);
- var path = this.get('/RightPalete.model').el.get_path(i
ter
.iter);
+ var path = this.get('/RightPalete.model').el.get_path(i
ret
.iter);
var pix = this.el.create_row_drag_icon ( path);
var pix = this.el.create_row_drag_icon ( path);