Re: plugins



Le Tue, Jun 18, 2002, à 02:08:27PM +0200, Matthieu Sozeau a écrit:
        
      I have 2 questions about plugin developpement. First, I need to
      have a separate directory for files in my plugin (XML
      stylesheets and configuration), is it ok to add a
      DIA_PLUGIN_PATH=$(pkgdatadir)/plugins/$(plugin_name) ?

Yes. 
 
      Second, I need to make some cleanup when dia quits if my plugin
      is loaded, but plugin_unload doesn't get called when exiting dia. Is
      it normal behavior? (My plugin can_unload works in the plugins
      pannel).

Probably not. I guess something is misbehaving here.

(just out of curiosity, what kind of clean-up ? What happens the next time
when dia has been -9'ed and the clean-up did not take place ?)

        -- Cyrille

-- 
Grumpf.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]