Changeset 3647 for trunk/gui/scripts/imageentry.tcl
- Timestamp:
- May 14, 2013, 2:33:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/imageentry.tcl
r3513 r3647 191 191 # ---------------------------------------------------------------------- 192 192 itcl::body Rappture::ImageEntry::label {} { 193 set label [ $_owner xml get $_path.about.label]194 return [string trim $label]193 set label [string trim [$_owner xml get $_path.about.label]] 194 return $label 195 195 } 196 196 … … 204 204 # ---------------------------------------------------------------------- 205 205 itcl::body Rappture::ImageEntry::tooltip {} { 206 set str [ $_owner xml get $_path.about.description]207 return [string trim $str]206 set str [string trim [$_owner xml get $_path.about.description]] 207 return $str 208 208 } 209 209
Note: See TracChangeset
for help on using the changeset viewer.