diff -up /dev/null gnome-applets-2.25.3/null_applet/GNOME_BattstatApplet.server.in --- /dev/null 2009-01-06 09:07:59.720027856 -0500 +++ gnome-applets-2.25.3/null_applet/GNOME_BattstatApplet.server.in 2009-01-06 13:06:52.000000000 -0500 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + diff -up gnome-applets-2.25.3/null_applet/Makefile.am.battstat-null gnome-applets-2.25.3/null_applet/Makefile.am --- gnome-applets-2.25.3/null_applet/Makefile.am.battstat-null 2009-01-06 00:30:23.000000000 -0500 +++ gnome-applets-2.25.3/null_applet/Makefile.am 2009-01-06 13:08:41.000000000 -0500 @@ -9,12 +9,15 @@ null_applet_SOURCES = null_applet.c null_applet_LDADD = $(GNOME_APPLETS_LIBS) +if !BUILD_BATTSTAT_APPLET +battstat_applet=GNOME_BattstatApplet.server.in +endif + serverdir = $(libdir)/bonobo/servers server_in_files = \ GNOME_NullApplet_Factory.server.in \ GNOME_CDPlayerApplet.server.in \ GNOME_MailcheckApplet_Factory.server.in \ - GNOME_Panel_WirelessApplet.server.in \ GNOME_MixerApplet.server.in server_DATA = $(server_in_files:.server.in=.server) diff -up gnome-applets-2.25.3/null_applet/null_applet.c.battstat-null gnome-applets-2.25.3/null_applet/null_applet.c --- gnome-applets-2.25.3/null_applet/null_applet.c.battstat-null 2009-01-06 00:30:23.000000000 -0500 +++ gnome-applets-2.25.3/null_applet/null_applet.c 2009-01-06 13:09:42.000000000 -0500 @@ -41,6 +41,8 @@ insert_oafiids (GHashTable *hash_table) g_hash_table_insert (hash_table, "OAFIID:GNOME_CDPlayerApplet", "CD Player"); g_hash_table_insert (hash_table, + "OAFIID:GNOME_BattstatApplet", "Battery Charge Monitor"); + g_hash_table_insert (hash_table, "OAFIID:GNOME_MixerApplet_Factory", "Volume Control"); }