From 28d1b11a1172ef047a97a901819aac75a8cf75c9 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 12 Oct 2007 11:04:20 -0400 Subject: [PATCH] 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 --- lib/choose_repository.tcl | 2 ++ 1 file changed, 2 insertions(+) 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 {}} { -- 2.11.4.GIT