summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-12 11:04:20 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-12 23:05:59 -0400
commit28d1b11a1172ef047a97a901819aac75a8cf75c9 (patch)
tree654701dafee6b8eef529b349967b61df316982ec
parentgit-gui: Fix bind errors when switching repository chooser panels (diff)
downloadtgif-28d1b11a1172ef047a97a901819aac75a8cf75c9.tar.xz
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 ab8e620c70..1e55aec90a 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 {}} {