aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-09-18 22:12:49 +1200
committerDavid <dbphillipsnz@gmail.com>2014-09-18 22:12:49 +1200
commit5dab2033e1cf4ce6fbb855bb051cc25232970bcc (patch)
tree391395a3e916b8ac40300f27430405d7a8f590c8
parentd2cecaa14db150ffe8e2735113c65c43e6889439 (diff)
downloadparamano-5dab2033e1cf4ce6fbb855bb051cc25232970bcc.tar.xz
Renamed icon files
-rw-r--r--bat_tray.c8
-rw-r--r--themes/default/bat-0-charging.png (renamed from themes/default/traybat-0-charging.png)bin1270 -> 1270 bytes
-rw-r--r--themes/default/bat-0.png (renamed from themes/default/traybat-0.png)bin922 -> 922 bytes
-rw-r--r--themes/default/bat-100-charging.png (renamed from themes/default/traybat-100-charging.png)bin1261 -> 1261 bytes
-rw-r--r--themes/default/bat-100.png (renamed from themes/default/traybat-100.png)bin839 -> 839 bytes
-rw-r--r--themes/default/bat-20-charging.png (renamed from themes/default/traybat-20-charging.png)bin1297 -> 1297 bytes
-rw-r--r--themes/default/bat-20.png (renamed from themes/default/traybat-20.png)bin923 -> 923 bytes
-rw-r--r--themes/default/bat-40-charging.png (renamed from themes/default/traybat-40-charging.png)bin1288 -> 1288 bytes
-rw-r--r--themes/default/bat-40.png (renamed from themes/default/traybat-40.png)bin925 -> 925 bytes
-rw-r--r--themes/default/bat-60-charging.png (renamed from themes/default/traybat-60-charging.png)bin1305 -> 1305 bytes
-rw-r--r--themes/default/bat-60.png (renamed from themes/default/traybat-60.png)bin912 -> 912 bytes
-rw-r--r--themes/default/bat-80-charging.png (renamed from themes/default/traybat-80-charging.png)bin1280 -> 1280 bytes
-rw-r--r--themes/default/bat-80.png (renamed from themes/default/traybat-80.png)bin872 -> 872 bytes
-rw-r--r--themes/default/bat-charged.png (renamed from themes/default/traybat-charged.png)bin1913 -> 1913 bytes
-rw-r--r--themes/default/cpu-0.png (renamed from themes/default/cpufreq-0.png)bin939 -> 939 bytes
-rw-r--r--themes/default/cpu-100.png (renamed from themes/default/cpufreq-100.png)bin1057 -> 1057 bytes
-rw-r--r--themes/default/cpu-25.png (renamed from themes/default/cpufreq-25.png)bin942 -> 942 bytes
-rw-r--r--themes/default/cpu-50.png (renamed from themes/default/cpufreq-50.png)bin988 -> 988 bytes
-rw-r--r--themes/default/cpu-75.png (renamed from themes/default/cpufreq-75.png)bin1014 -> 1014 bytes
-rw-r--r--tray.c4
20 files changed, 6 insertions, 6 deletions
diff --git a/bat_tray.c b/bat_tray.c
index 3b2b698..274009b 100644
--- a/bat_tray.c
+++ b/bat_tray.c
@@ -94,15 +94,15 @@ gboolean update_icon(gpointer user_data)
switch ( get_battery_state() )
{
case STATE_DISCHARGING:
- asprintf(&icon_file,"%s/traybat-%d.png",_DEFAULT_THEME,rounded);
+ asprintf(&icon_file,"%s/bat-%d.png",_DEFAULT_THEME,rounded);
break;
case STATE_CHARGING:
- asprintf(&icon_file,"%s/traybat-%d-charging.png",_DEFAULT_THEME,rounded);
+ asprintf(&icon_file,"%s/bat-%d-charging.png",_DEFAULT_THEME,rounded);
break;
default:
- asprintf(&icon_file,"%s/traybat-charged.png",_DEFAULT_THEME);
+ asprintf(&icon_file,"%s/bat-charged.png",_DEFAULT_THEME);
break;
}
@@ -131,7 +131,7 @@ void bat_tray_init()
debug("Spawning new status icon\n");
tray = gtk_status_icon_new();
- asprintf(&icon_file,"%s/traybat-charged.png",_DEFAULT_THEME);
+ asprintf(&icon_file,"%s/bat-charged.png",_DEFAULT_THEME);
gtk_status_icon_set_from_file(tray, icon_file);
free(icon_file);
gtk_status_icon_set_has_tooltip (tray, TRUE);
diff --git a/themes/default/traybat-0-charging.png b/themes/default/bat-0-charging.png
index 9255e66..9255e66 100644
--- a/themes/default/traybat-0-charging.png
+++ b/themes/default/bat-0-charging.png
Binary files differ
diff --git a/themes/default/traybat-0.png b/themes/default/bat-0.png
index 2554a6a..2554a6a 100644
--- a/themes/default/traybat-0.png
+++ b/themes/default/bat-0.png
Binary files differ
diff --git a/themes/default/traybat-100-charging.png b/themes/default/bat-100-charging.png
index bae3a43..bae3a43 100644
--- a/themes/default/traybat-100-charging.png
+++ b/themes/default/bat-100-charging.png
Binary files differ
diff --git a/themes/default/traybat-100.png b/themes/default/bat-100.png
index fe4ba7f..fe4ba7f 100644
--- a/themes/default/traybat-100.png
+++ b/themes/default/bat-100.png
Binary files differ
diff --git a/themes/default/traybat-20-charging.png b/themes/default/bat-20-charging.png
index aabd778..aabd778 100644
--- a/themes/default/traybat-20-charging.png
+++ b/themes/default/bat-20-charging.png
Binary files differ
diff --git a/themes/default/traybat-20.png b/themes/default/bat-20.png
index 83e7065..83e7065 100644
--- a/themes/default/traybat-20.png
+++ b/themes/default/bat-20.png
Binary files differ
diff --git a/themes/default/traybat-40-charging.png b/themes/default/bat-40-charging.png
index c016a28..c016a28 100644
--- a/themes/default/traybat-40-charging.png
+++ b/themes/default/bat-40-charging.png
Binary files differ
diff --git a/themes/default/traybat-40.png b/themes/default/bat-40.png
index 3245106..3245106 100644
--- a/themes/default/traybat-40.png
+++ b/themes/default/bat-40.png
Binary files differ
diff --git a/themes/default/traybat-60-charging.png b/themes/default/bat-60-charging.png
index 1667458..1667458 100644
--- a/themes/default/traybat-60-charging.png
+++ b/themes/default/bat-60-charging.png
Binary files differ
diff --git a/themes/default/traybat-60.png b/themes/default/bat-60.png
index aa25803..aa25803 100644
--- a/themes/default/traybat-60.png
+++ b/themes/default/bat-60.png
Binary files differ
diff --git a/themes/default/traybat-80-charging.png b/themes/default/bat-80-charging.png
index b9c6991..b9c6991 100644
--- a/themes/default/traybat-80-charging.png
+++ b/themes/default/bat-80-charging.png
Binary files differ
diff --git a/themes/default/traybat-80.png b/themes/default/bat-80.png
index e649be0..e649be0 100644
--- a/themes/default/traybat-80.png
+++ b/themes/default/bat-80.png
Binary files differ
diff --git a/themes/default/traybat-charged.png b/themes/default/bat-charged.png
index 1e61940..1e61940 100644
--- a/themes/default/traybat-charged.png
+++ b/themes/default/bat-charged.png
Binary files differ
diff --git a/themes/default/cpufreq-0.png b/themes/default/cpu-0.png
index 9a1b3b4..9a1b3b4 100644
--- a/themes/default/cpufreq-0.png
+++ b/themes/default/cpu-0.png
Binary files differ
diff --git a/themes/default/cpufreq-100.png b/themes/default/cpu-100.png
index 6b63453..6b63453 100644
--- a/themes/default/cpufreq-100.png
+++ b/themes/default/cpu-100.png
Binary files differ
diff --git a/themes/default/cpufreq-25.png b/themes/default/cpu-25.png
index ae2acf6..ae2acf6 100644
--- a/themes/default/cpufreq-25.png
+++ b/themes/default/cpu-25.png
Binary files differ
diff --git a/themes/default/cpufreq-50.png b/themes/default/cpu-50.png
index 03ab5e3..03ab5e3 100644
--- a/themes/default/cpufreq-50.png
+++ b/themes/default/cpu-50.png
Binary files differ
diff --git a/themes/default/cpufreq-75.png b/themes/default/cpu-75.png
index 49e9342..49e9342 100644
--- a/themes/default/cpufreq-75.png
+++ b/themes/default/cpu-75.png
Binary files differ
diff --git a/tray.c b/tray.c
index 83b1504..10e9668 100644
--- a/tray.c
+++ b/tray.c
@@ -306,7 +306,7 @@ void tray_init()
{
tray_set_defaults();
tray = gtk_status_icon_new();
- char* icon_file = g_strconcat(_DEFAULT_THEME, "/cpufreq-0.png", NULL);
+ char* icon_file = g_strconcat(_DEFAULT_THEME, "/cpu-0.png", NULL);
debug("Setting icon to '%s'\n",icon_file);
gtk_status_icon_set_from_file(tray, icon_file);
@@ -362,7 +362,7 @@ void tray_update_icon_percent()
}
debug("Rounded/adjusted CPU percentage: %d\n",adjusted_percent);
- asprintf(&file, "%s/cpufreq-%d.png", _DEFAULT_THEME,adjusted_percent);
+ asprintf(&file, "%s/cpu-%d.png", _DEFAULT_THEME,adjusted_percent);
debug("Setting tray icon to '%s'\n",file);
gtk_status_icon_set_from_file(tray, file);