[GRASS5] [bug #1582] (grass) Tcl/tk menu: Display dimentions doesn't work

Request Tracker grass-bugs at intevation.de
Fri Feb 7 00:24:13 EST 2003


this bug's URL: http://intevation.de/rt/webrt?serial_num=1582
-------------------------------------------------------------------------

Subject: Tcl/tk menu: Display dimentions doesn't work

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0

This is broken in 5.0.0, and the code snippet below is from CVS.. 
I don't know what xdriver_defaults(width) calls or if it has been fixed in CVS wherever that call goes to.


Config -> Options -> Display Dimensions:

XDriver default HEIGHT  and  XDriver default WIDTH  options don't work.


in src/tcltkgrass/main/gui.tcl:
    label $path.label1 -anchor w -text "XDriver default LEFT position"
    entry $path.entry1 -textvariable xdriver_defaults(left)
    label $path.label2 -anchor w -text "XDriver default TOP position"
    entry $path.entry2 -textvariable xdriver_defaults(top)
    label $path.label3 -anchor w -text "XDriver default WIDTH"
    entry $path.entry3 -textvariable xdriver_defaults(width)
    label $path.label4 -anchor w -text "XDriver default HEIGHT"
    entry $path.entry4 -textvariable xdriver_defaults(height)
    label $path.label5 -anchor w -text "CELL driver WIDTH"
    entry $path.entry5 -textvariable env(GRASS_WIDTH)
    label $path.label6 -anchor w -text "CELL driver HEIGHT"
    entry $path.entry6 -textvariable env(GRASS_HEIGHT)


do they need to be updated to GRASS_WIDTH and GRASS_HEIGHT ?



Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list