aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/applet-main.c26
2 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c680a09..65637e2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,3 +9,5 @@ indicator_applet_CFLAGS = \
indicator_applet_SOURCES = \
applet-main.c
+indicator_applet_LDADD = \
+ $(APPLET_LIBS)
diff --git a/src/applet-main.c b/src/applet-main.c
index e69de29..6ec3788 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -0,0 +1,26 @@
+
+#include <panel-applet.h>
+
+
+static gboolean applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data);
+
+
+/*************
+ * main
+ * ***********/
+
+PANEL_APPLET_BONOBO_FACTORY ("OAFIID:GNOME_IndicatorApplet_Factory",
+ PANEL_TYPE_APPLET,
+ "indicator-applet", "0",
+ applet_fill_cb, NULL);
+
+/*************
+ * init function
+ * ***********/
+
+static gboolean
+applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
+{
+
+ return TRUE;
+}