diff -up /dev/null gnome-applets-2.26.1/null_applet/GNOME_BattstatApplet.server.in --- /dev/null 2009-04-12 17:29:07.367057280 -0400 +++ gnome-applets-2.26.1/null_applet/GNOME_BattstatApplet.server.in 2009-04-13 00:29:58.095336633 -0400 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + diff -up gnome-applets-2.26.1/null_applet/Makefile.am.battstat-null gnome-applets-2.26.1/null_applet/Makefile.am --- gnome-applets-2.26.1/null_applet/Makefile.am.battstat-null 2009-03-16 19:38:50.000000000 -0400 +++ gnome-applets-2.26.1/null_applet/Makefile.am 2009-04-13 00:29:58.096337117 -0400 @@ -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.26.1/null_applet/null_applet.c.battstat-null gnome-applets-2.26.1/null_applet/null_applet.c --- gnome-applets-2.26.1/null_applet/null_applet.c.battstat-null 2009-04-12 21:09:18.000000000 -0400 +++ gnome-applets-2.26.1/null_applet/null_applet.c 2009-04-13 00:31:10.112337087 -0400 @@ -44,6 +44,8 @@ insert_oafiids (GHashTable *hash_table) "OAFIID:GNOME_MixerApplet_Factory", _("Volume Control")); g_hash_table_insert (hash_table, "OAFIID:GNOME_MixerApplet", _("Volume Control")); + g_hash_table_insert (hash_table, + "OAFIID:GNOME_BattstatApplet", "Battery Charge Monitor"); } static gboolean already_running;