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);
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 (),
//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;