Changeset 1137 for trunk


Ignore:
Timestamp:
Sep 2, 2008 3:54:54 PM (16 years ago)
Author:
gah
Message:

pymolproxy: turn debug

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/xylegend.tcl

    r1136 r1137  
    584584            }
    585585            set label [$itk_component(legend) entry cget $focus_ -label]
    586             foreach { l r t b } [$itk_component(legend) bbox $focus_] break
     586            foreach { l r w h } [$itk_component(legend) bbox $focus_] break
    587587            set info(text) $label
    588588            set info(x) [expr $l + [winfo rootx $itk_component(legend)]]
    589589            set info(y) [expr $r + [winfo rooty $itk_component(legend)]]
    590             set info(w) [expr $r - $l]
    591             set info(h) [expr $b - $t]
    592             puts stderr "focus bbox=$info(x) $info(y) $info(w) $info(h)"
     590            set info(w) $w
     591            set info(h) $h
    593592            return [array get info]
    594593        }
  • trunk/packages/vizservers/pymolproxy/pymolproxy.c

    r1120 r1137  
    4949
    5050static FILE *flog;
    51 static int debug = 1;
     51static int debug = 0;
    5252
    5353static void
Note: See TracChangeset for help on using the changeset viewer.