git-gui: Disable the text widget in the repository chooser
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Oct 2007 15:04:20 +0000 (11:04 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 13 Oct 2007 03:05:59 +0000 (23:05 -0400)
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>
lib/choose_repository.tcl

index ab8e620c70bbaecd0397dd497c218f282da5ed92..1e55aec90a369a74623362239b79ded058a0335b 100644 (file)
@@ -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 {}} {