Blob Blame History Raw
diff -up /dev/null gnome-applets-2.25.90/null_applet/GNOME_BattstatApplet.server.in
--- /dev/null	2009-02-03 19:10:33.912072100 -0500
+++ gnome-applets-2.25.90/null_applet/GNOME_BattstatApplet.server.in	2009-02-03 20:59:23.000000000 -0500
@@ -0,0 +1,22 @@
+<oaf_info>
+
+<oaf_server iid="OAFIID:GNOME_BattstatApplet"
+	    type="factory" 
+	    location="OAFIID:GNOME_NullApplet_Factory">
+
+	<oaf_attribute name="repo_ids" type="stringv">
+		<item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
+		<item value="IDL:Bonobo/Control:1.0"/>
+		<item value="IDL:Bonobo/Unknown:1.0"/>
+	</oaf_attribute>
+	<oaf_attribute name="name" type="string" _value="Battery Charge Monitor"/>
+	<oaf_attribute name="description" type="string" _value="Monitor a laptop's remaining power"/>
+	<oaf_attribute name="bugzilla:bugzilla" type="string" value="GNOME"/>
+        <oaf_attribute name="bugzilla:product" type="string" value="gnome-applets"/>
+        <oaf_attribute name="bugzilla:component" type="string" value="battery"/>
+        <oaf_attribute name="bugzilla:other_binaries" type="string" value="battstat-applet-2"/>
+
+
+</oaf_server>
+
+</oaf_info>
diff -up gnome-applets-2.25.90/null_applet/Makefile.am.battstat-null gnome-applets-2.25.90/null_applet/Makefile.am
--- gnome-applets-2.25.90/null_applet/Makefile.am.battstat-null	2009-01-26 19:05:02.000000000 -0500
+++ gnome-applets-2.25.90/null_applet/Makefile.am	2009-02-03 21:04:50.000000000 -0500
@@ -8,6 +8,10 @@ if !BUILD_MIXER_APPLET
 mixer_server_in = GNOME_MixerApplet.server.in
 endif
 
+if !BUILD_BATTSTAT_APPLET
+battstat_applet=GNOME_BattstatApplet.server.in
+endif
+
 libexec_PROGRAMS = null_applet
 
 null_applet_SOURCES = null_applet.c
@@ -19,7 +23,7 @@ server_in_files =				\
 	GNOME_NullApplet_Factory.server.in	\
 	GNOME_CDPlayerApplet.server.in		\
 	GNOME_MailcheckApplet_Factory.server.in	\
-	GNOME_Panel_WirelessApplet.server.in	\
+	$(battstat_applet)			\
 	$(mixer_server_in)
 server_DATA = $(server_in_files:.server.in=.server)
 
diff -up gnome-applets-2.25.90/null_applet/null_applet.c.battstat-null gnome-applets-2.25.90/null_applet/null_applet.c
--- gnome-applets-2.25.90/null_applet/null_applet.c.battstat-null	2009-01-07 00:22:38.000000000 -0500
+++ gnome-applets-2.25.90/null_applet/null_applet.c	2009-02-03 20:59:23.000000000 -0500
@@ -41,7 +41,9 @@ insert_oafiids (GHashTable *hash_table)
 	g_hash_table_insert (hash_table,
 			"OAFIID:GNOME_CDPlayerApplet", "CD Player");
 	g_hash_table_insert (hash_table,
-			     "OAFIID:GNOME_MixerApplet_Factory", "Volume Control");
+			"OAFIID:GNOME_BattstatApplet", "Battery Charge Monitor");
+	g_hash_table_insert (hash_table,
+			     "OAFIID:GNOME_MixerApplet", "Volume Control");
 }
 
 static gboolean already_running;