diff -up gnome-applets-2.21.2/null_applet/Makefile.am.battstat gnome-applets-2.21.2/null_applet/Makefile.am --- gnome-applets-2.21.2/null_applet/Makefile.am.battstat 2007-12-06 22:43:35.000000000 -0500 +++ gnome-applets-2.21.2/null_applet/Makefile.am 2007-12-06 22:43:43.000000000 -0500 @@ -9,12 +9,17 @@ 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_Panel_WirelessApplet.server.in \ + $(battstat_applet) server_DATA = $(server_in_files:.server.in=.server) @INTLTOOL_SERVER_RULE@ @@ -28,4 +33,5 @@ EXTRA_DIST = \ GNOME_NullApplet_Factory.server.in.in \ GNOME_CDPlayerApplet.server.in \ GNOME_MailcheckApplet_Factory.server.in \ - GNOME_Panel_WirelessApplet.server.in + GNOME_Panel_WirelessApplet.server.in \ + GNOME_BattstatApplet.server.in diff -up gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in.battstat gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in --- gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in.battstat 2007-12-06 22:44:07.000000000 -0500 +++ gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in 2007-12-06 22:43:54.000000000 -0500 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + +