summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-12 15:04:20 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-13 03:05:59 (GMT)
commit28d1b11a1172ef047a97a901819aac75a8cf75c9 (patch)
tree654701dafee6b8eef529b349967b61df316982ec
parent580b73de258635ca392d917cda4341ac5f1a2535 (diff)
downloadgit-28d1b11a1172ef047a97a901819aac75a8cf75c9.zip
git-28d1b11a1172ef047a97a901819aac75a8cf75c9.tar.gz
git-28d1b11a1172ef047a97a901819aac75a8cf75c9.tar.bz2
git-gui: Disable the text widget in the repository chooser
Although we are using a text widget here we really do not want the end-user to be able to modify the text it displays. So we need to disable it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/choose_repository.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl
index ab8e620..1e55aec 100644
--- a/lib/choose_repository.tcl
+++ b/lib/choose_repository.tcl
@@ -108,6 +108,8 @@ constructor pick {} {
-label [mc "Open..."]
}
+ $opts conf -state disabled
+
set sorted_recent [_get_recentrepos]
if {[llength $sorted_recent] > 0} {
if {$m_repo ne {}} {