@matheusbsbs / matheus-bagliano / commits / 28d1b11a11
Fork 0

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>

Shawn O. Pearce committed Oct 12, 2007 at 11:04 UTC 28d1b11a1172ef047a97a901819aac75a8cf75c9
1 file changed +2
lib/choose_repository.tcl
+2
@@ -108,6 +108,8 @@ constructor pick {} {
108 -label [mc "Open..."]
109 }
110
111 + $opts conf -state disabled
112 +
113 set sorted_recent [_get_recentrepos]
114 if {[llength $sorted_recent] > 0} {
115 if {$m_repo ne {}} {