w.drag_get_data
( /* will receive 'drag-data-received' signal */
ctx, /* represents the current state of the DnD */
- imports.Globals.atoms["STRING"], /* the target type we want */
+ Globals.atoms["STRING"], /* the target type we want */
time /* time stamp */
);
Gdk.DragAction.COPY | Gdk.DragAction.MOVE /* what to do with data after dropped */
);
- this.el.drag_source_set_target_list(imports.Globals.targetList);
+ this.el.drag_source_set_target_list(Globals.targetList);
this.el.drag_source_add_text_targets();
this.el.drag_dest_set
Gdk.DragAction.COPY | Gdk.DragAction.MOVE /* what to do with data after dropped */
);
- this.el.drag_dest_set_target_list( imports.Globals.targetList);
+ this.el.drag_dest_set_target_list( Globals.targetList);
this.el.drag_dest_add_text_targets( );
},
selectNode : function(treepath_str) {
w.drag_get_data
( /* will receive 'drag-data-received' signal */
ctx, /* represents the current state of the DnD */
- imports.Globals.atoms["STRING"], /* the target type we want */
+ Globals.atoms["STRING"], /* the target type we want */
time /* time stamp */
);
);
// print("RB: TARGETS : " + LeftTree.atoms["STRING"]);
- this.el.drag_dest_set_target_list( imports.Globals.targetList);
+ this.el.drag_dest_set_target_list( Globals.targetList);
GLib.timeout_add_seconds(0, 1, function() {
// print("run refresh?");
self.drag_get_data
( /* will receive 'drag-data-received' signal */
ctx, /* represents the current state of the this.gDnD */
- imports.Globals.atoms["STRING"], /* the target type we want */
+ Globals.atoms["STRING"], /* the target type we want */
time /* time stamp */
);