From d0f2818872dff1b45ff4310911353d3fd2d3b976 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 24 May 2010 18:29:03 +0800 Subject: [PATCH] Sample/Window.js --- Sample/Window.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sample/Window.js b/Sample/Window.js index 4681ffcc7..6e1c2b994 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -874,7 +874,7 @@ Window=new XObject({ } - this.activeIter = false; + this.activePath= false; this.changed(false,true); }, deleteSelected : function() { @@ -883,11 +883,11 @@ Window=new XObject({ var s = this.get('/LeftTree.view').selection; s.get_selected(this.el, old_iter); var path = this.el.get_path(old_iter).to_string(); - print("DELETE " + path); - this.activeIter = false; + + this.activePath= false; s.unselect_all(); - this.activeIter = false; + this.activePath= false; var iter = new Gtk.TreeIter(); this.el.get_iter_from_string(iter, path); this.el.remove(iter); @@ -896,7 +896,7 @@ Window=new XObject({ this.map = {}; this.treemap = { }; //this.toJS(null, true) // does not do anything? - + this.activePath= false; this.changed(false,true); this.get('/LeftTree.view').blockChanges = false; }, -- 2.39.2