aboutsummaryrefslogtreecommitdiffstats
path: root/lib/line.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/line.tcl')
-rw-r--r--lib/line.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/line.tcl b/lib/line.tcl
index a026de954c..62eae258ee 100644
--- a/lib/line.tcl
+++ b/lib/line.tcl
@@ -9,18 +9,18 @@ field ctext
field linenum {}
constructor new {i_w i_text args} {
- global use_ttk NS
+ global use_ttk
set w $i_w
set ctext $i_text
- ${NS}::frame $w
- ${NS}::label $w.l -text [mc "Goto Line:"]
+ ttk::frame $w
+ ttk::label $w.l -text [mc "Goto Line:"]
tentry $w.ent \
-textvariable ${__this}::linenum \
-background lightgreen \
-validate key \
-validatecommand [cb _validate %P]
- ${NS}::button $w.bn -text [mc Go] -command [cb _goto]
+ ttk::button $w.bn -text [mc Go] -command [cb _goto]
pack $w.l -side left
pack $w.bn -side right