diff -up gnome-applets-2.30.0/null_applet/GNOME_BattstatApplet.server.in.battstat-null gnome-applets-2.30.0/null_applet/GNOME_BattstatApplet.server.in --- gnome-applets-2.30.0/null_applet/GNOME_BattstatApplet.server.in.battstat-null 2010-03-28 23:21:03.987012192 -0400 +++ gnome-applets-2.30.0/null_applet/GNOME_BattstatApplet.server.in 2010-03-28 23:21:03.988012052 -0400 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + diff -up gnome-applets-2.30.0/null_applet/Makefile.am.battstat-null gnome-applets-2.30.0/null_applet/Makefile.am --- gnome-applets-2.30.0/null_applet/Makefile.am.battstat-null 2010-03-28 01:29:51.000000000 -0400 +++ gnome-applets-2.30.0/null_applet/Makefile.am 2010-03-28 23:23:29.771762645 -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 @@ -21,6 +25,7 @@ server_in_files = \ GNOME_MailcheckApplet_Factory.server.in \ GNOME_Panel_WirelessApplet.server.in \ GNOME_KeyboardApplet.server.in \ + $(battstat_applet) \ $(mixer_server_in) server_DATA = $(server_in_files:.server.in=.server) @@ -39,6 +44,7 @@ EXTRA_DIST = \ GNOME_MailcheckApplet_Factory.server.in \ GNOME_Panel_WirelessApplet.server.in \ GNOME_MixerApplet.server.in \ + GNOME_BattstatApplet.server.in \ GNOME_KeyboardApplet.server.in -include $(top_srcdir)/git.mk diff -up gnome-applets-2.30.0/null_applet/null_applet.c.battstat-null gnome-applets-2.30.0/null_applet/null_applet.c --- gnome-applets-2.30.0/null_applet/null_applet.c.battstat-null 2010-03-28 01:29:51.000000000 -0400 +++ gnome-applets-2.30.0/null_applet/null_applet.c 2010-03-28 23:24:15.766774031 -0400 @@ -46,6 +46,8 @@ insert_oafiids (GHashTable *hash_table) "OAFIID:GNOME_MixerApplet", _("Volume Control")); g_hash_table_insert (hash_table, "OAFIID:GNOME_KeyboardApplet", _("Keyboard Indicator")); + g_hash_table_insert (hash_table, + "OAFIID:GNOME_BattstatApplet", "Battery Charge Monitor"); } static gboolean already_running;