[gnome-power-manager] Remove all the status icons as these have not been used for a long time
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Remove all the status icons as these have not been used for a long time
- Date: Thu, 14 Feb 2013 15:14:41 +0000 (UTC)
commit e70b7939a743b584d9f656c75fe7bc891af18845
Author: Richard Hughes <richard hughsie com>
Date: Thu Feb 14 14:32:25 2013 +0000
Remove all the status icons as these have not been used for a long time
configure.ac | 6 -
data/icons/16x16/Makefile.am | 2 +-
data/icons/16x16/status/Makefile.am | 56 -
.../16x16/status/battery-caution-charging.png | Bin 800 -> 0 bytes
data/icons/16x16/status/battery-caution.png | Bin 567 -> 0 bytes
data/icons/16x16/status/battery-empty.png | Bin 501 -> 0 bytes
data/icons/16x16/status/battery-full-charging.png | Bin 818 -> 0 bytes
data/icons/16x16/status/battery-full.png | Bin 591 -> 0 bytes
data/icons/16x16/status/battery-good-charging.png | Bin 804 -> 0 bytes
data/icons/16x16/status/battery-good.png | Bin 595 -> 0 bytes
data/icons/16x16/status/battery-low-charging.png | Bin 804 -> 0 bytes
data/icons/16x16/status/battery-low.png | Bin 600 -> 0 bytes
data/icons/16x16/status/battery-missing.png | Bin 603 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-000.png | Bin 605 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-020.png | Bin 598 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-040.png | Bin 615 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-060.png | Bin 622 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-080.png | Bin 642 -> 0 bytes
data/icons/16x16/status/gpm-keyboard-100.png | Bin 628 -> 0 bytes
data/icons/16x16/status/gpm-mouse-000.png | Bin 651 -> 0 bytes
data/icons/16x16/status/gpm-mouse-020.png | Bin 698 -> 0 bytes
data/icons/16x16/status/gpm-mouse-040.png | Bin 725 -> 0 bytes
data/icons/16x16/status/gpm-mouse-060.png | Bin 730 -> 0 bytes
data/icons/16x16/status/gpm-mouse-080.png | Bin 681 -> 0 bytes
data/icons/16x16/status/gpm-mouse-100.png | Bin 697 -> 0 bytes
data/icons/16x16/status/gpm-phone-000.png | Bin 779 -> 0 bytes
data/icons/16x16/status/gpm-phone-020.png | Bin 790 -> 0 bytes
data/icons/16x16/status/gpm-phone-040.png | Bin 822 -> 0 bytes
data/icons/16x16/status/gpm-phone-060.png | Bin 822 -> 0 bytes
data/icons/16x16/status/gpm-phone-080.png | Bin 822 -> 0 bytes
data/icons/16x16/status/gpm-phone-100.png | Bin 814 -> 0 bytes
data/icons/16x16/status/gpm-ups-000-charging.png | Bin 668 -> 0 bytes
data/icons/16x16/status/gpm-ups-000.png | Bin 619 -> 0 bytes
data/icons/16x16/status/gpm-ups-020-charging.png | Bin 698 -> 0 bytes
data/icons/16x16/status/gpm-ups-020.png | Bin 627 -> 0 bytes
data/icons/16x16/status/gpm-ups-040-charging.png | Bin 732 -> 0 bytes
data/icons/16x16/status/gpm-ups-040.png | Bin 682 -> 0 bytes
data/icons/16x16/status/gpm-ups-060-charging.png | Bin 742 -> 0 bytes
data/icons/16x16/status/gpm-ups-060.png | Bin 694 -> 0 bytes
data/icons/16x16/status/gpm-ups-080-charging.png | Bin 749 -> 0 bytes
data/icons/16x16/status/gpm-ups-080.png | Bin 692 -> 0 bytes
data/icons/16x16/status/gpm-ups-100-charging.png | Bin 709 -> 0 bytes
data/icons/16x16/status/gpm-ups-100.png | Bin 662 -> 0 bytes
data/icons/16x16/status/gpm-ups-missing.png | Bin 595 -> 0 bytes
data/icons/22x22/Makefile.am | 2 +-
data/icons/22x22/status/Makefile.am | 56 -
.../22x22/status/battery-caution-charging.png | Bin 1132 -> 0 bytes
data/icons/22x22/status/battery-caution.png | Bin 717 -> 0 bytes
data/icons/22x22/status/battery-empty.png | Bin 641 -> 0 bytes
data/icons/22x22/status/battery-full-charging.png | Bin 1131 -> 0 bytes
data/icons/22x22/status/battery-full.png | Bin 721 -> 0 bytes
data/icons/22x22/status/battery-good-charging.png | Bin 1138 -> 0 bytes
data/icons/22x22/status/battery-good.png | Bin 752 -> 0 bytes
data/icons/22x22/status/battery-low-charging.png | Bin 1135 -> 0 bytes
data/icons/22x22/status/battery-low.png | Bin 715 -> 0 bytes
data/icons/22x22/status/battery-missing.png | Bin 799 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-000.png | Bin 1008 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-020.png | Bin 996 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-040.png | Bin 1027 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-060.png | Bin 1027 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-080.png | Bin 1047 -> 0 bytes
data/icons/22x22/status/gpm-keyboard-100.png | Bin 1031 -> 0 bytes
data/icons/22x22/status/gpm-mouse-000.png | Bin 958 -> 0 bytes
data/icons/22x22/status/gpm-mouse-020.png | Bin 959 -> 0 bytes
data/icons/22x22/status/gpm-mouse-040.png | Bin 974 -> 0 bytes
data/icons/22x22/status/gpm-mouse-060.png | Bin 975 -> 0 bytes
data/icons/22x22/status/gpm-mouse-080.png | Bin 974 -> 0 bytes
data/icons/22x22/status/gpm-mouse-100.png | Bin 958 -> 0 bytes
data/icons/22x22/status/gpm-phone-000.png | Bin 1029 -> 0 bytes
data/icons/22x22/status/gpm-phone-020.png | Bin 1042 -> 0 bytes
data/icons/22x22/status/gpm-phone-040.png | Bin 1075 -> 0 bytes
data/icons/22x22/status/gpm-phone-060.png | Bin 1073 -> 0 bytes
data/icons/22x22/status/gpm-phone-080.png | Bin 1058 -> 0 bytes
data/icons/22x22/status/gpm-phone-100.png | Bin 1045 -> 0 bytes
data/icons/22x22/status/gpm-ups-000-charging.png | Bin 969 -> 0 bytes
data/icons/22x22/status/gpm-ups-000.png | Bin 901 -> 0 bytes
data/icons/22x22/status/gpm-ups-020-charging.png | Bin 999 -> 0 bytes
data/icons/22x22/status/gpm-ups-020.png | Bin 913 -> 0 bytes
data/icons/22x22/status/gpm-ups-040-charging.png | Bin 1000 -> 0 bytes
data/icons/22x22/status/gpm-ups-040.png | Bin 923 -> 0 bytes
data/icons/22x22/status/gpm-ups-060-charging.png | Bin 1014 -> 0 bytes
data/icons/22x22/status/gpm-ups-060.png | Bin 934 -> 0 bytes
data/icons/22x22/status/gpm-ups-080-charging.png | Bin 1015 -> 0 bytes
data/icons/22x22/status/gpm-ups-080.png | Bin 937 -> 0 bytes
data/icons/22x22/status/gpm-ups-100-charging.png | Bin 993 -> 0 bytes
data/icons/22x22/status/gpm-ups-100.png | Bin 919 -> 0 bytes
data/icons/22x22/status/gpm-ups-missing.png | Bin 872 -> 0 bytes
data/icons/24x24/Makefile.am | 2 +-
data/icons/24x24/status/Makefile.am | 56 -
.../24x24/status/battery-caution-charging.png | Bin 1152 -> 0 bytes
data/icons/24x24/status/battery-caution.png | Bin 747 -> 0 bytes
data/icons/24x24/status/battery-empty.png | Bin 669 -> 0 bytes
data/icons/24x24/status/battery-full-charging.png | Bin 1155 -> 0 bytes
data/icons/24x24/status/battery-full.png | Bin 749 -> 0 bytes
data/icons/24x24/status/battery-good-charging.png | Bin 1162 -> 0 bytes
data/icons/24x24/status/battery-good.png | Bin 783 -> 0 bytes
data/icons/24x24/status/battery-low-charging.png | Bin 1151 -> 0 bytes
data/icons/24x24/status/battery-low.png | Bin 751 -> 0 bytes
data/icons/24x24/status/battery-missing.png | Bin 833 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-000.png | Bin 1065 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-020.png | Bin 1060 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-040.png | Bin 1081 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-060.png | Bin 1083 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-080.png | Bin 1107 -> 0 bytes
data/icons/24x24/status/gpm-keyboard-100.png | Bin 1089 -> 0 bytes
data/icons/24x24/status/gpm-mouse-000.png | Bin 1021 -> 0 bytes
data/icons/24x24/status/gpm-mouse-020.png | Bin 1020 -> 0 bytes
data/icons/24x24/status/gpm-mouse-040.png | Bin 1035 -> 0 bytes
data/icons/24x24/status/gpm-mouse-060.png | Bin 1040 -> 0 bytes
data/icons/24x24/status/gpm-mouse-080.png | Bin 1041 -> 0 bytes
data/icons/24x24/status/gpm-mouse-100.png | Bin 1022 -> 0 bytes
data/icons/24x24/status/gpm-phone-000.png | Bin 1069 -> 0 bytes
data/icons/24x24/status/gpm-phone-020.png | Bin 1081 -> 0 bytes
data/icons/24x24/status/gpm-phone-040.png | Bin 1107 -> 0 bytes
data/icons/24x24/status/gpm-phone-060.png | Bin 1100 -> 0 bytes
data/icons/24x24/status/gpm-phone-080.png | Bin 1085 -> 0 bytes
data/icons/24x24/status/gpm-phone-100.png | Bin 1075 -> 0 bytes
data/icons/24x24/status/gpm-ups-000-charging.png | Bin 1034 -> 0 bytes
data/icons/24x24/status/gpm-ups-000.png | Bin 969 -> 0 bytes
data/icons/24x24/status/gpm-ups-020-charging.png | Bin 1060 -> 0 bytes
data/icons/24x24/status/gpm-ups-020.png | Bin 975 -> 0 bytes
data/icons/24x24/status/gpm-ups-040-charging.png | Bin 1064 -> 0 bytes
data/icons/24x24/status/gpm-ups-040.png | Bin 990 -> 0 bytes
data/icons/24x24/status/gpm-ups-060-charging.png | Bin 1061 -> 0 bytes
data/icons/24x24/status/gpm-ups-060.png | Bin 989 -> 0 bytes
data/icons/24x24/status/gpm-ups-080-charging.png | Bin 1069 -> 0 bytes
data/icons/24x24/status/gpm-ups-080.png | Bin 994 -> 0 bytes
data/icons/24x24/status/gpm-ups-100-charging.png | Bin 1064 -> 0 bytes
data/icons/24x24/status/gpm-ups-100.png | Bin 989 -> 0 bytes
data/icons/24x24/status/gpm-ups-missing.png | Bin 916 -> 0 bytes
data/icons/32x32/Makefile.am | 2 +-
data/icons/32x32/status/Makefile.am | 56 -
.../32x32/status/battery-caution-charging.png | Bin 2388 -> 0 bytes
data/icons/32x32/status/battery-caution.png | Bin 1485 -> 0 bytes
data/icons/32x32/status/battery-empty.png | Bin 1311 -> 0 bytes
data/icons/32x32/status/battery-full-charging.png | Bin 2364 -> 0 bytes
data/icons/32x32/status/battery-full.png | Bin 1311 -> 0 bytes
data/icons/32x32/status/battery-good-charging.png | Bin 2475 -> 0 bytes
data/icons/32x32/status/battery-good.png | Bin 1509 -> 0 bytes
data/icons/32x32/status/battery-low-charging.png | Bin 2438 -> 0 bytes
data/icons/32x32/status/battery-low.png | Bin 1516 -> 0 bytes
data/icons/32x32/status/battery-missing.png | Bin 1662 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-000.png | Bin 1696 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-020.png | Bin 1693 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-040.png | Bin 1719 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-060.png | Bin 1722 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-080.png | Bin 1722 -> 0 bytes
data/icons/32x32/status/gpm-keyboard-100.png | Bin 1695 -> 0 bytes
data/icons/32x32/status/gpm-monitor.png | Bin 1627 -> 0 bytes
data/icons/32x32/status/gpm-mouse-000.png | Bin 1741 -> 0 bytes
data/icons/32x32/status/gpm-mouse-020.png | Bin 1755 -> 0 bytes
data/icons/32x32/status/gpm-mouse-040.png | Bin 1769 -> 0 bytes
data/icons/32x32/status/gpm-mouse-060.png | Bin 1765 -> 0 bytes
data/icons/32x32/status/gpm-mouse-080.png | Bin 1769 -> 0 bytes
data/icons/32x32/status/gpm-mouse-100.png | Bin 1745 -> 0 bytes
data/icons/32x32/status/gpm-phone-000.png | Bin 2007 -> 0 bytes
data/icons/32x32/status/gpm-phone-020.png | Bin 2008 -> 0 bytes
data/icons/32x32/status/gpm-phone-040.png | Bin 2024 -> 0 bytes
data/icons/32x32/status/gpm-phone-060.png | Bin 2221 -> 0 bytes
data/icons/32x32/status/gpm-phone-080.png | Bin 2018 -> 0 bytes
data/icons/32x32/status/gpm-phone-100.png | Bin 2022 -> 0 bytes
data/icons/32x32/status/gpm-ups-000-charging.png | Bin 1559 -> 0 bytes
data/icons/32x32/status/gpm-ups-000.png | Bin 1420 -> 0 bytes
data/icons/32x32/status/gpm-ups-020-charging.png | Bin 1586 -> 0 bytes
data/icons/32x32/status/gpm-ups-020.png | Bin 1426 -> 0 bytes
data/icons/32x32/status/gpm-ups-040-charging.png | Bin 1616 -> 0 bytes
data/icons/32x32/status/gpm-ups-040.png | Bin 1457 -> 0 bytes
data/icons/32x32/status/gpm-ups-060-charging.png | Bin 1505 -> 0 bytes
data/icons/32x32/status/gpm-ups-060.png | Bin 1373 -> 0 bytes
data/icons/32x32/status/gpm-ups-080-charging.png | Bin 1623 -> 0 bytes
data/icons/32x32/status/gpm-ups-080.png | Bin 1471 -> 0 bytes
data/icons/32x32/status/gpm-ups-100-charging.png | Bin 1617 -> 0 bytes
data/icons/32x32/status/gpm-ups-100.png | Bin 1442 -> 0 bytes
data/icons/32x32/status/gpm-ups-missing.png | Bin 1360 -> 0 bytes
data/icons/48x48/Makefile.am | 2 +-
data/icons/48x48/status/Makefile.am | 57 -
.../48x48/status/battery-caution-charging.png | Bin 4134 -> 0 bytes
data/icons/48x48/status/battery-caution.png | Bin 2419 -> 0 bytes
data/icons/48x48/status/battery-empty.png | Bin 2129 -> 0 bytes
data/icons/48x48/status/battery-full-charging.png | Bin 4055 -> 0 bytes
data/icons/48x48/status/battery-full.png | Bin 2244 -> 0 bytes
data/icons/48x48/status/battery-good-charging.png | Bin 4169 -> 0 bytes
data/icons/48x48/status/battery-good.png | Bin 2484 -> 0 bytes
data/icons/48x48/status/battery-low-charging.png | Bin 4155 -> 0 bytes
data/icons/48x48/status/battery-low.png | Bin 2493 -> 0 bytes
data/icons/48x48/status/battery-missing.png | Bin 2258 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-000.png | Bin 3019 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-020.png | Bin 3074 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-040.png | Bin 3095 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-060.png | Bin 3021 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-080.png | Bin 3016 -> 0 bytes
data/icons/48x48/status/gpm-keyboard-100.png | Bin 2855 -> 0 bytes
data/icons/48x48/status/gpm-monitor.png | Bin 2680 -> 0 bytes
data/icons/48x48/status/gpm-mouse-000.png | Bin 3395 -> 0 bytes
data/icons/48x48/status/gpm-mouse-020.png | Bin 3475 -> 0 bytes
data/icons/48x48/status/gpm-mouse-040.png | Bin 3498 -> 0 bytes
data/icons/48x48/status/gpm-mouse-060.png | Bin 3493 -> 0 bytes
data/icons/48x48/status/gpm-mouse-080.png | Bin 3486 -> 0 bytes
data/icons/48x48/status/gpm-mouse-100.png | Bin 3353 -> 0 bytes
data/icons/48x48/status/gpm-phone-000.png | Bin 3835 -> 0 bytes
data/icons/48x48/status/gpm-phone-020.png | Bin 3867 -> 0 bytes
data/icons/48x48/status/gpm-phone-040.png | Bin 3878 -> 0 bytes
data/icons/48x48/status/gpm-phone-060.png | Bin 3861 -> 0 bytes
data/icons/48x48/status/gpm-phone-080.png | Bin 3849 -> 0 bytes
data/icons/48x48/status/gpm-phone-100.png | Bin 3705 -> 0 bytes
data/icons/48x48/status/gpm-ups-000-charging.png | Bin 2306 -> 0 bytes
data/icons/48x48/status/gpm-ups-000.png | Bin 2055 -> 0 bytes
data/icons/48x48/status/gpm-ups-020-charging.png | Bin 2332 -> 0 bytes
data/icons/48x48/status/gpm-ups-020.png | Bin 2134 -> 0 bytes
data/icons/48x48/status/gpm-ups-040-charging.png | Bin 2378 -> 0 bytes
data/icons/48x48/status/gpm-ups-040.png | Bin 2148 -> 0 bytes
data/icons/48x48/status/gpm-ups-060-charging.png | Bin 2397 -> 0 bytes
data/icons/48x48/status/gpm-ups-060.png | Bin 2165 -> 0 bytes
data/icons/48x48/status/gpm-ups-080-charging.png | Bin 2396 -> 0 bytes
data/icons/48x48/status/gpm-ups-080.png | Bin 2155 -> 0 bytes
data/icons/48x48/status/gpm-ups-100-charging.png | Bin 2384 -> 0 bytes
data/icons/48x48/status/gpm-ups-100.png | Bin 2155 -> 0 bytes
data/icons/48x48/status/gpm-ups-missing.png | Bin 1832 -> 0 bytes
data/icons/clean_svg_icons.sh | 11 -
data/icons/generate_24x24_icons.sh | 11 -
data/icons/generate_32x32_icons.sh | 11 -
data/icons/generate_48x48_icons.sh | 9 -
data/icons/render-bitmaps.rb | 27 -
data/icons/scalable/Makefile.am | 2 +-
data/icons/scalable/gpm-batteries.svg |18902 --------------------
data/icons/scalable/status/Makefile.am | 48 -
.../scalable/status/battery-caution-charging.svg | 979 -
data/icons/scalable/status/battery-caution.svg | 292 -
data/icons/scalable/status/battery-empty.svg | 448 -
.../scalable/status/battery-full-charging.svg | 501 -
data/icons/scalable/status/battery-full.svg | 276 -
.../scalable/status/battery-good-charging.svg | 504 -
data/icons/scalable/status/battery-good.svg | 279 -
.../icons/scalable/status/battery-low-charging.svg | 1228 --
data/icons/scalable/status/battery-low.svg | 292 -
data/icons/scalable/status/battery-missing.svg | 335 -
data/icons/scalable/status/gpm-keyboard-000.svg | 420 -
data/icons/scalable/status/gpm-keyboard-060.svg | 434 -
data/icons/scalable/status/gpm-keyboard-100.svg | 414 -
data/icons/scalable/status/gpm-monitor.svg | 2623 ---
data/icons/scalable/status/gpm-mouse-000.svg | 482 -
data/icons/scalable/status/gpm-mouse-060.svg | 512 -
data/icons/scalable/status/gpm-mouse-100.svg | 511 -
data/icons/scalable/status/gpm-phone-000.svg | 988 -
data/icons/scalable/status/gpm-phone-060.svg | 1018 --
data/icons/scalable/status/gpm-phone-100.svg | 1017 --
.../icons/scalable/status/gpm-ups-000-charging.svg | 296 -
data/icons/scalable/status/gpm-ups-000.svg | 264 -
.../icons/scalable/status/gpm-ups-020-charging.svg | 296 -
data/icons/scalable/status/gpm-ups-020.svg | 264 -
.../icons/scalable/status/gpm-ups-040-charging.svg | 296 -
data/icons/scalable/status/gpm-ups-040.svg | 264 -
.../icons/scalable/status/gpm-ups-060-charging.svg | 296 -
data/icons/scalable/status/gpm-ups-060.svg | 264 -
.../icons/scalable/status/gpm-ups-080-charging.svg | 296 -
data/icons/scalable/status/gpm-ups-080.svg | 264 -
.../icons/scalable/status/gpm-ups-100-charging.svg | 288 -
data/icons/scalable/status/gpm-ups-100.svg | 264 -
data/icons/scalable/status/gpm-ups-missing.svg | 291 -
src/gpm-statistics.c | 44 +-
260 files changed, 8 insertions(+), 36550 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d42c6e7..6939f1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,22 +118,16 @@ data/gnome-power-statistics.desktop.in
data/icons/Makefile
data/icons/16x16/Makefile
data/icons/16x16/apps/Makefile
-data/icons/16x16/status/Makefile
data/icons/22x22/Makefile
data/icons/22x22/apps/Makefile
-data/icons/22x22/status/Makefile
data/icons/24x24/Makefile
data/icons/24x24/apps/Makefile
-data/icons/24x24/status/Makefile
data/icons/32x32/Makefile
data/icons/32x32/apps/Makefile
-data/icons/32x32/status/Makefile
data/icons/48x48/Makefile
data/icons/48x48/apps/Makefile
-data/icons/48x48/status/Makefile
data/icons/scalable/Makefile
data/icons/scalable/apps/Makefile
-data/icons/scalable/status/Makefile
])
AC_OUTPUT
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/24x24/Makefile.am
+++ b/data/icons/24x24/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/32x32/Makefile.am
+++ b/data/icons/32x32/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
index 04a3e32..906a50e 100644
--- a/data/icons/scalable/Makefile.am
+++ b/data/icons/scalable/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = apps status
+SUBDIRS = apps
-include $(top_srcdir)/git.mk
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index b686ad4..966d382 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -115,31 +115,6 @@ enum {
#define GPM_UP_TEXT_MIN_TIME 120 /* seconds */
/**
- * gpm_stats_get_device_icon_index:
- * @device: The UpDevice
- *
- * Return value: The character string for the filename suffix.
- **/
-static const gchar *
-gpm_stats_get_device_icon_index (UpDevice *device)
-{
- gdouble percentage;
- /* get device properties */
- g_object_get (device, "percentage", &percentage, NULL);
- if (percentage < 10)
- return "000";
- else if (percentage < 30)
- return "020";
- else if (percentage < 50)
- return "040";
- else if (percentage < 70)
- return "060";
- else if (percentage < 90)
- return "080";
- return "100";
-}
-
-/**
* gpm_stats_get_device_icon_suffix:
* @device: The UpDevice
*
@@ -170,9 +145,7 @@ gpm_stats_get_device_icon (UpDevice *device, gboolean use_symbolic)
{
GString *filename;
gchar **iconnames;
- const gchar *kind_str;
const gchar *suffix_str;
- const gchar *index_str;
UpDeviceKind kind;
UpDeviceState state;
gboolean is_present;
@@ -200,17 +173,13 @@ gpm_stats_get_device_icon (UpDevice *device, gboolean use_symbolic)
} else if (kind == UP_DEVICE_KIND_MONITOR) {
if (use_symbolic)
- g_string_append (filename, "gpm-monitor-symbolic;");
- g_string_append (filename, "gpm-monitor;");
+ g_string_append (filename, "ac-adapter-symbolic;");
+ g_string_append (filename, "ac-adapter;");
} else {
-
- kind_str = up_device_kind_to_string (kind);
if (!is_present) {
if (use_symbolic)
g_string_append (filename, "battery-missing-symbolic;");
- g_string_append_printf (filename, "gpm-%s-missing;", kind_str);
- g_string_append_printf (filename, "gpm-%s-000;", kind_str);
g_string_append (filename, "battery-missing;");
} else {
@@ -218,8 +187,6 @@ gpm_stats_get_device_icon (UpDevice *device, gboolean use_symbolic)
case UP_DEVICE_STATE_EMPTY:
if (use_symbolic)
g_string_append (filename, "battery-empty-symbolic;");
- g_string_append_printf (filename, "gpm-%s-empty;", kind_str);
- g_string_append_printf (filename, "gpm-%s-000;", kind_str);
g_string_append (filename, "battery-empty;");
break;
case UP_DEVICE_STATE_FULLY_CHARGED:
@@ -227,33 +194,26 @@ gpm_stats_get_device_icon (UpDevice *device, gboolean use_symbolic)
g_string_append (filename, "battery-full-charged-symbolic;");
g_string_append (filename, "battery-full-charging-symbolic;");
}
- g_string_append_printf (filename, "gpm-%s-full;", kind_str);
- g_string_append_printf (filename, "gpm-%s-100;", kind_str);
g_string_append (filename, "battery-full-charged;");
g_string_append (filename, "battery-full-charging;");
break;
case UP_DEVICE_STATE_CHARGING:
case UP_DEVICE_STATE_PENDING_CHARGE:
suffix_str = gpm_stats_get_device_icon_suffix (device);
- index_str = gpm_stats_get_device_icon_index (device);
if (use_symbolic)
g_string_append_printf (filename, "battery-%s-charging-symbolic;",
suffix_str);
- g_string_append_printf (filename, "gpm-%s-%s-charging;", kind_str, index_str);
g_string_append_printf (filename, "battery-%s-charging;", suffix_str);
break;
case UP_DEVICE_STATE_DISCHARGING:
case UP_DEVICE_STATE_PENDING_DISCHARGE:
suffix_str = gpm_stats_get_device_icon_suffix (device);
- index_str = gpm_stats_get_device_icon_index (device);
if (use_symbolic)
g_string_append_printf (filename, "battery-%s-symbolic;", suffix_str);
- g_string_append_printf (filename, "gpm-%s-%s;", kind_str, index_str);
g_string_append_printf (filename, "battery-%s;", suffix_str);
break;
default:
if (use_symbolic)
g_string_append (filename, "battery-missing-symbolic;");
- g_string_append (filename, "gpm-battery-missing;");
g_string_append (filename, "battery-missing;");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]