Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 01:24:12 +0000 (09:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 01:24:12 +0000 (09:24 +0800)
Sample/Window.js

index 9c84f74..7cfacc7 100644 (file)
@@ -3023,7 +3023,10 @@ Window=new XObject({
                                                                                        // print("RB: TARGETS : " + LeftTree.atoms["STRING"]);
                                                                                         Gtk.drag_dest_set_target_list(this.el, this.get('/Window').targetList);
                                                                                         
-                                                                                        GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT_IDLE, 2, function() { _this.runRefresh(); });
+                                                                                        GLib.timeout_add(GLib.PRIORITY_DEFAULT_IDLE, 200, function() {
+                                                                                        print("run refresh?");
+                                                                                             _this.runRefresh(); 
+                                                                                         });
                                                                                         
                                                                                         
                                                                                     },