Supplemental files

In the section called Compiling the applet, you launched your applet manually from the command line. If you would like your applet to be available for other users on your system, accessible from the Add applet menu, you'll also have to provide two information files: /etc/CORBA/servers/my_applet.gnorba and /usr/share/applets/Category/my_applet.desktop. These are pretty straightforward, two examples will (hopefully) be sufficient.

Example 6. The .gnorba file

	[my_applet]
	type=exe
	repo_id=IDL:GNOME/Applet:1.0
	description=Example panel applet
	location_info=my_applet
      

Example 7. The .desktop file

	[Desktop Entry]
	Name=My very own applet
	Name[hu]=Az én saját kisalkalmazásom
	Comment=An example applet
	Comment[hu]=Egy példa-kisalkalmazás
	Exec=my_applet --activate-goad-server=my_applet
	Icon=my_icon.xpm
	Terminal=0
	Type=Application
      

Note: Be sure that the app_id passed to applet_widget_init is the same as the identifier used in the Exec line (see the section called Changes from an average GTK application)

You can include a number of Name and Comment lines in the .desktop file, for different languages and locales.