power: Use a proper icon for the panel

Rather than repurposing a status icon. We have too
much blue in System Settings

https://bugzilla.gnome.org/show_bug.cgi?id=645536
This commit is contained in:
Jakub Steiner 2011-08-31 16:38:56 +02:00 committed by Bastien Nocera
parent d62e0da9db
commit f209ca3717
16 changed files with 112 additions and 1 deletions

View file

@ -370,6 +370,13 @@ panels/info/Makefile
panels/info/gnome-info-panel.desktop.in
panels/power/Makefile
panels/power/gnome-power-panel.desktop.in
panels/power/icons/Makefile
panels/power/icons/16x16/Makefile
panels/power/icons/22x22/Makefile
panels/power/icons/24x24/Makefile
panels/power/icons/32x32/Makefile
panels/power/icons/48x48/Makefile
panels/power/icons/256x256/Makefile
panels/color/Makefile
panels/color/gnome-color-panel.desktop.in
panels/color/icons/Makefile

View file

@ -1,5 +1,7 @@
cappletname = power
SUBDIRS = icons
INCLUDES = \
$(PANEL_CFLAGS) \
$(POWER_PANEL_CFLAGS) \

View file

@ -2,7 +2,7 @@
_Name=Power
_Comment=Power management settings
Exec=gnome-control-center power
Icon=battery-good-charging
Icon=gnome-power-manager
Terminal=false
Type=Application
StartupNotify=true

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/16x16/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/22x22/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/24x24/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/256x256/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/32x32/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,14 @@
NULL =
icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = \
gnome-power-manager.png \
$(NULL)
EXTRA_DIST = \
$(icon_DATA)
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -0,0 +1,18 @@
SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk