[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Dec 1 17:22:39 1994 
Subject:Re: Disapearing Icon 
From:Julian Clinton 
Volume-ID:941202.02 

----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 11

Hello James

The icon vanishing from the Poplog panel is a known bug which has been
fixed (the icon gets garbage collected). I've attached a description
of the fix to this message. Hope it helps.

Julian



 
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: FR4543_fix
X-Sun-Content-Lines: 35

Fix For FR 4543 (Poplog 14.5)
-----------------------------

These changes should be applied to the file
    $usepop/pop/x/ui/lib/pop_ui_popcontroltool.p


At line 58, add an extra lvar:

    controltool_icon_window = false,


In pop_ui_popcontroltool (line 390), remove icon_window from the list of
procedure lvars and replace all references of icon_window with
controltool_icon_window.

At line 396, replace:

    if XptIsLiveType(controltool_widget, "Widget") then
        XtDestroyWidget(controltool_widget);
        false -> controltool_widget;
    endif;

with:

    if XptIsLiveType(controltool_widget, "Widget") then
        XtDestroyWidget(controltool_widget);
        false -> controltool_widget;
        false -> controltool_icon_window
    endif;

Finally, rebuild the startup and language saved images:

    mkstartup
    makeimages