X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.bjs;h=f34844e62bf510a2faf78a0e68b3cf2c5c216648;hp=1e7e58f308b9924e5b025be8ca49f1a2af1c22dc;hb=405e80cbe5c929e87fb0b0751a5bbbae9a9d4abb;hpb=ebaef7c043c1a953be0bcb17bc320008fda0b2dc diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 1e7e58f3..f34844e6 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -41,7 +41,7 @@ "items" : [ { "listeners" : { - "button_press_event" : "() => {\n \n \n GitMonitor.gitmonitor.stop();\n _this.repo.git({ \"stash\" , \"--all\" });\n _this.repo.loadStatus();\n GitMonitor.gitmonitor.start();\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 Clones.singleton().reposStore.load();\n \n _this.el.hide();\n return false;\n}" + "clicked" : "() => {\n \n \n GitMonitor.gitmonitor.stop();\n _this.repo.git({ \"stash\" , \"--all\" });\n _this.repo.loadStatus();\n GitMonitor.gitmonitor.start();\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 Clones.singleton().reposStore.load();\n \n _this.el.hide();\n return false;\n}" }, "label" : "Stash Changes", "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-undo\", Gtk.IconSize.SMALL_TOOLBAR), null);",