RepoStatusPopover.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 16 Nov 2018 01:57:45 +0000 (09:57 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 Nov 2018 01:57:45 +0000 (09:57 +0800)
RepoStatusPopover.vala

RepoStatusPopover.bjs
RepoStatusPopover.vala

index 68d0d24..27db0a8 100644 (file)
@@ -8,7 +8,6 @@
  "build_module" : "gitlive",
  "items" : [
   {
-   "@ void buttonPressed" : "(string btn)",
    "id" : "RooProjectSettings",
    "| void show" : " (Gtk.Widget btn, GitRepo repo) {\n    _this.repo = repo;\n    // get the active project.\n     var lm = Gtk.SourceLanguageManager.get_default();\n                \n//    ((Gtk.SourceBuffer)(_this.view.el.get_buffer())) .set_language(\n  //      lm.get_language(\"html\")\n //   );\n  \n    //print (project.fn);\n    //project.runhtml = project.runhtml || '';\n    _this.diff_view.el.get_buffer().set_text(\"diff goes here\");\n    \n      \n      \n    \t//console.log('show all');\n\tthis.el.set_modal(true);\n\tthis.el.set_relative_to(btn);\n\n\t//this.el.set_position(Gtk.PositionType.RIGHT);\n\n\t// window + header?\n\t print(\"SHOWALL - POPIP\\n\");\n\tthis.el.show_all();\n\tthis.el.set_size_request(800,500);\n\tthis.view.el.grab_focus();\n\t\n    \n    //this.el.show_all();\n}\n",
    "xtype" : "Popover",
index b3c4660..c876351 100644 (file)
@@ -18,7 +18,6 @@ public class Xcls_RooProjectSettings : Object
     public Xcls_diff_view diff_view;
 
         // my vars (def)
-    public signal void buttonPressed (string btn);
     public Project.Project project;
 
     // ctor