libpanel-applet changes
- From: Mark McLoughlin <mark skynet ie>
- To: <desktop-devel-list gnome org>
- Subject: libpanel-applet changes
- Date: Mon, 11 Feb 2002 12:19:04 +0000 (GMT)
Hey Guys,
	This is a heads up for anyone depending on libpanel-applet and
not in gnome-utils or gnome-applets.
	2 Changes:
	* in your .server file the repository id for the
	  PanelAppletShell needs to be
		IDL:GNOME/Vertigo/PanelAppletShell:1.0
	  instead of
		IDL:GNOME/PanelAppletShell:1.0
	* you need to add an extra argument to the factory macro you
	  use. This is the GType of your applet - e.g.
@@ -372,6 +372,7 @@ geyes_applet_factory (PanelApplet *apple
 }
 PANEL_APPLET_BONOBO_FACTORY ("OAFIID:GNOME_GeyesApplet_Factory",
+                            PANEL_TYPE_APPLET,
                             "Big brother is watching you",
                             "0",
                             geyes_applet_factory,
	  for all applets this will be PANEL_TYPE_APPLET. You only
need to different if you want to defive from PanelApplet, which wasn't
possible before this change anyhow :-)
Good Luck,
Mark.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]