X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.bjs;h=66ac7759ea3111b7a102173dc0546cc33afff3e3;hp=e677d9caca71d330115e3e097dc8db1f1e8574b3;hb=b0927b579e39c2740360b0b4a78481c78078cdf2;hpb=b6a2defb3e1d6ca16a0539e4bec3d0a7575d489d diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index e677d9ca..66ac7759 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -139,6 +139,7 @@ "button_press_event" : "() => {\n \n \n GitMonitor.gitmonitor.stop();\n _this.repo.git({ \"reset\" , \"--hard\" });\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" : "Reset / clear changes", + "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-goto-top\", Gtk.IconSize.SMALL_TOOLBAR), null);", "* pack" : "add", "xtype" : "ToolButton", "$ xns" : "Gtk"