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>
This commit is contained in:
@ -108,6 +108,8 @@ constructor pick {} {
|
|||||||
-label [mc "Open..."]
|
-label [mc "Open..."]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$opts conf -state disabled
|
||||||
|
|
||||||
set sorted_recent [_get_recentrepos]
|
set sorted_recent [_get_recentrepos]
|
||||||
if {[llength $sorted_recent] > 0} {
|
if {[llength $sorted_recent] > 0} {
|
||||||
if {$m_repo ne {}} {
|
if {$m_repo ne {}} {
|
||||||
|
Reference in New Issue
Block a user