Branch: Tag:

2000-03-24

2000-03-24 17:34:53 by Per Hedbor <ph@opera.com>

Use /internal-roxen-gnutton instead of relative roxen-images/gbutton.xcf

Rev: server/modules/graphics/gbutton.pike:1.42

25:   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.41 2000/03/24 14:21:28 jhs Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.42 2000/03/24 17:34:53 per Exp $";   constant thread_safe = 1;      #include <module.h>
151:       // otherwise load default images    if ( !frame ) -  set_image( roxen.load_layers("roxen-images/gbutton.xcf", id) ); +  set_image( roxen.load_layers("/internal-roxen-gbutton", id) );          // Translate frame image to 0,0 (left layers are most likely to the
475:   class ButtonFrame {    inherit RXML.Frame;    -  array mk_url(RequestID id) { +  array mk_url(RequestID id) +  {    string fi = (args["frame-image"]||id->misc->defines["gbutton-frame-image"]);    if( fi )    fi = fix_relative( fi, id );