Permalink
Browse files

fixed the overlapping spin gif and text on Your IP

  • Loading branch information...
pulpofred
pulpofred committed Apr 6, 2016
1 parent 5247f36 commit eca10e8337c43d365ef9d511150a6f953924816c
Showing with 4 additions and 2 deletions.
  1. +4 −2 fruho/main.tcl
@@ -1427,11 +1427,13 @@ proc gui-update {} {
img place 64/flag/[connect-flag-stand] .c.stat.flag 64/flag/EMPTY
set externalip [externalip-stand]
if {$externalip eq ""} {
# -compound center = display both text and image
.c.inf.externalip configure -text " " -compound center
img place 16/spin .c.inf.externalip
.c.inf.externalip configure -text " "
} else {
# -compound text = display only text
.c.inf.externalip configure -text $externalip -compound text
img place 16/empty .c.inf.externalip
.c.inf.externalip configure -text $externalip
}
.c.bs.connect configure -state [connect-button-stand]
.c.bs.disconnect configure -state [disconnect-button-stand]

0 comments on commit eca10e8

Please sign in to comment.