[gnome-power-manager] Remove the brightness applet as GNOME3 will not have the ability to show applets at all



commit 53dd7e73fbeaf5819898d85a7bae437cc0da27a9
Author: Richard Hughes <richard hughsie com>
Date:   Tue Oct 12 10:01:27 2010 +0100

    Remove the brightness applet as GNOME3 will not have the ability to show applets at all

 Makefile.am                                        |    5 -
 applets/Makefile.am                                |    1 -
 applets/brightness/.gitignore                      |    7 -
 applets/brightness/Makefile.am                     |   67 --
 applets/brightness/brightness-applet-menu.xml      |    3 -
 applets/brightness/brightness-applet.c             | 1048 --------------------
 applets/brightness/egg-debug.c                     |    1 -
 applets/brightness/egg-debug.h                     |    1 -
 applets/brightness/gpm-common.c                    |    1 -
 applets/brightness/gpm-common.h                    |    1 -
 .../org.gnome.BrightnessApplet.panel-applet.in.in  |   16 -
 ...panel.applet.BrightnessAppletFactory.service.in |    4 -
 configure.ac                                       |   22 -
 13 files changed, 0 insertions(+), 1177 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 005b8a0..240bd5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,10 +11,6 @@ SUBDIRS = 						\
 	policy						\
 	tools
 
-if HAVE_APPLETS
-SUBDIRS += applets
-endif
-
 EXTRA_DIST =						\
 	HACKING						\
 	MAINTAINERS					\
@@ -40,7 +36,6 @@ DISTCLEANFILES =					\
 DISTCHECK_CONFIGURE_FLAGS = 				\
 	--disable-schemas-install			\
 	--disable-scrollkeeper				\
-	--disable-applets				\
 	--disable-tests
 
 distclean-local:
diff --git a/configure.ac b/configure.ac
index 8e5bfb6..58a8cf7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,25 +192,6 @@ fi
 AM_CONDITIONAL([HAVE_TESTS], [test $have_tests = yes])
 
 dnl ---------------------------------------------------------------------------
-dnl - Build applets
-dnl ---------------------------------------------------------------------------
-AC_ARG_ENABLE(applets,
-              AS_HELP_STRING([--disable-applets],
-                             [Build the extra power applets]),
-              enable_applets=$enableval,enable_applets=no)
-
-AC_MSG_CHECKING([whether to build applet support])
-have_applets=no
-if test x$enable_applets = xyes ; then
-    have_applets=yes
-
-    PKG_CHECK_MODULES(PANEL, [libpanelapplet-3.0 >= 2.31.2])
-    AC_DEFINE(HAVE_APPLETS, 1, [Define if we are building applets])
-fi
-AC_MSG_RESULT([$have_applets])
-AM_CONDITIONAL([HAVE_APPLETS], [test $have_applets = yes])
-
-dnl ---------------------------------------------------------------------------
 dnl - DocBook Documentation
 dnl ---------------------------------------------------------------------------
 AC_ARG_ENABLE(docbook-docs,
@@ -269,8 +250,6 @@ dnl ---------------------------------------------------------------------------
 AC_CONFIG_FILES([
 Makefile
 src/Makefile
-applets/Makefile
-applets/brightness/Makefile
 docs/Makefile
 man/Makefile
 help/Makefile
@@ -318,7 +297,6 @@ echo "
         datadir:                   ${datadir}
         compiler:                  ${CC}
         cflags:                    ${CFLAGS}
-        Building extra applets:    ${enable_applets}
         Self test support:         ${have_tests}
         Docbook support:           ${enable_docbook_docs}
         documentation dir:         $DOCDIR



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]