Hi,

1) I don't know how to restart the matecomponent server. This is on
> Ubuntu 12.04. It's a bit impractical to reboot every time I change
> something in the .server file
>

- Install your new server file in the dbus directory
- If the applet is running, kill its process from terminal. The panel will
ask you if you wish to respawn the applet. Answer "yes" and the new server
file will be deployed.


> 2) The status of the code in itself is that the .server gets
> recognized - an entry is shown in the "add to panel" dialog - however,
> if I double-click it then I get a dialog saying "The panel encountered
> a problem while loading "OAFIID:ExampleApplet". Do you want to delete
> the applet from your configuration?" - I have no idea how to progress
> from that. In addition to a C applet I also tried a python applet and
> it shows the same behaviour.
>

The error probably means the applet is not loaded properly. First thing
first - fix the loading. Take a look at a working example:
http://www.zavedil.com/mate-lock-keys-applet/

This is an applet ported from Gnome2.

In main.c, look for two things: the very last line is the loading of the
factory. The function before it, led_applet_factory() it is the entry point
- adjust it per your needs until you get a label properly shown. All rest
is applet-specific functions you won't need.

WWell,
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Matede-velopment mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matede-velopment

Reply via email to