projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580b73d
)
git-gui: Disable the text widget in the repository chooser
author
Shawn O. Pearce
<spearce@spearce.org>
Fri, 12 Oct 2007 15:04:20 +0000
(11:04 -0400)
committer
Shawn 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
patch
|
blob
|
history
diff --git
a/lib/choose_repository.tcl
b/lib/choose_repository.tcl
index ab8e620c70bbaecd0397dd497c218f282da5ed92..1e55aec90a369a74623362239b79ded058a0335b 100644
(file)
--- 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 {}} {