From: Shawn O. Pearce Date: Fri, 12 Oct 2007 15:04:20 +0000 (-0400) Subject: git-gui: Disable the text widget in the repository chooser X-Git-Tag: gitgui-0.9.0~23 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=28d1b11a1172ef047a97a901819aac75a8cf75c9;p=git.git 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 --- diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index ab8e620c7..1e55aec90 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 {}} {