src/Builder4/WindowLeftTree.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 17 Oct 2022 07:23:39 +0000 (15:23 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 17 Oct 2022 07:23:39 +0000 (15:23 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index 77ca82e..353c907 100644 (file)
          "        ",
          "     _this.LeftTreeMenu.el.set_screen(Gdk.Screen.get_default());",
          "     _this.LeftTreeMenu.el.show_all();",
-         "      _this.LeftTreeMenu.el.popup(null, null, null,  3, ev.time);",
+         "      _this.LeftTreeMenu.el.popup_at_pointer(ev);",
          "     //   print(\"click:\" + res.path.to_string());",
          "      return true;",
          "}"
index 39f4a9a..50f0ea0 100644 (file)
@@ -277,7 +277,7 @@ public class Xcls_WindowLeftTree : Object
                     
                  _this.LeftTreeMenu.el.set_screen(Gdk.Screen.get_default());
                  _this.LeftTreeMenu.el.show_all();
-                  _this.LeftTreeMenu.el.popup(null, null, null,  3, ev.time);
+                  _this.LeftTreeMenu.el.popup_at_pointer(ev);
                  //   print("click:" + res.path.to_string());
                   return true;
             });