X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.vala;fp=RepoStatusPopover.vala;h=22966a6a5a014ccbe5e545d715ff2a6dfc6113a2;hp=aa771df179b0a4293fb4f0ae1ef49dca6e60415e;hb=878e8dcc80b84893f8bf523a58e3c45d76474b63;hpb=ef4ff7d047df285c38a20a378cd18916075d2df6 diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index aa771df1..22966a6a 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -67,7 +67,12 @@ public class RepoStatusPopover : Object _this.btn_merge.el.set_sensitive(true); } _this.btn_create.el.set_sensitive(repo.is_master()); - + + _this.btn_stash.el.set_sensitive(repo.has_local_changes); + _this.btn_commit.el.set_sensitive(repo.has_local_changes); + _this.btn_reset.el.set_sensitive(repo.has_local_changes); + _this.btn_pull.el.set_sensitive(repo.ahead_or_behind == "B"); + // window + header? GLib.debug("SHOWALL - POPIP\n"); this.el.show_all();