sync
authorAlan Knowles <alan@roojs.com>
Mon, 3 Mar 2014 07:40:05 +0000 (15:40 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 3 Mar 2014 07:40:05 +0000 (15:40 +0800)
Monitor.js
StatusIcon.js
gitlive.js

index 614545c..3e8760e 100644 (file)
@@ -109,7 +109,10 @@ Monitor.prototype = {
         var f = Gio.file_new_for_path(path);
             //var cancel = new Gio.Cancellable ();
         if (depth > 0) {     
+
             var fm = f.monitor(2,null); //Gio.FileMonitorFlags.SEND_MOVED
+
+
             
             XObject.isSeed ?  fm.signal.changed.connect(fn) : fm.connect('changed',fn);
             this.monitors.push(fm);
index 6339dc1..56dc102 100644 (file)
@@ -47,13 +47,16 @@ var StatusIcon  = new XObject({
             print("POPUP: " + typeof(menu.el.popup));
             
             var isSeed = typeof(Seed) != 'undefined';
-            if (isSeed) {  
+           /* if (isSeed) {
+                
+                //print(JSON.stringify([null, null, Gtk.StatusIcon.position_menu , this.el , 1, Gtk.get_current_event_time()]));
+                print(  Gtk.get_current_event_time());
                 menu.el.popup(null, null, Gtk.StatusIcon.position_menu , this.el , 1, Gtk.get_current_event_time());
             //menu.el.popup(null, null,null, null, 1, Gtk.get_current_event_time());
             
                 return;
             }
-            
+            */
             Gtk.get_current_event_device ()
             menu.el.popup_for_device(
                     Gtk.get_current_event_device (),
index 173a933..d60cb5a 100644 (file)
@@ -16,7 +16,7 @@ GLib        = imports.gi.GLib;
 //print(JSON.stringify(GI, null,4));
 // we add this in, as it appears to get lost sometimes if we set it using the ENV. variable in builder.sh
 // see the install instructions on how to override the default gir's
-GIRepository.Repository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.2');
+//GIRepository.Repository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.2');
 
 var Gio      = imports.gi.Gio;
 var Gtk      = imports.gi.Gtk;