X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.bjs;h=08c53b541c044857234ede6d9945d0925d29ed6a;hp=77672f7c1093c24650cbb06ef66b6bbaef6ecace;hb=3f1338822ed408a4aba61e1810f8571c226ed495;hpb=ac0672f9d24d7006f75ea49ef952786bbf6e106c diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 77672f7c..08c53b54 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -53,7 +53,7 @@ }, { "listeners" : { - "clicked" : "() => {\n _this.el.hide();\n _this.repo.git({ \"commit\" , \"-a\" ,\"-m\", \"Uncommited changes synced\" });\n _this.repo.push();\n _this.repo.loadStatus();\n \n _this.diff_view.el.get_buffer().set_text(_this.repo.git_diff);\n _this.status_view.el.get_buffer().set_text(_this.repo.git_status);\n \n\n Clones.singleton().reposStore.load();\n \n}" + "clicked" : "() => {\n _this.el.hide();\n GitMonitor.gitmonitor.stop();\n _this.repo.git({ \"commit\" , \"-a\" ,\"-m\", \"Uncommited changes synced\" });\n _this.repo.push();\n _this.repo.loadStatus();\n \n _this.diff_view.el.get_buffer().set_text(_this.repo.git_diff);\n _this.status_view.el.get_buffer().set_text(_this.repo.git_status);\n \n\n Clones.singleton().reposStore.load();\n GitMonitor.gitmonitor.start();\n \n}" }, "label" : "Commit Changes", "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-save\", Gtk.IconSize.SMALL_TOOLBAR), null);",