diff options
author | David <dbphillipsnz@gmail.com> | 2014-09-18 22:12:49 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-09-18 22:12:49 +1200 |
commit | b1557875a910e00eb57e569779567a00c8363929 (patch) | |
tree | 391395a3e916b8ac40300f27430405d7a8f590c8 | |
parent | 2206b7f95651f7cc329efe19c496eb16ed077ae5 (diff) | |
download | paramano-b1557875a910e00eb57e569779567a00c8363929.tar.xz |
Renamed icon files
-rw-r--r-- | bat_tray.c | 8 | ||||
-rw-r--r-- | themes/default/bat-0-charging.png (renamed from themes/default/traybat-0-charging.png) | bin | 1270 -> 1270 bytes | |||
-rw-r--r-- | themes/default/bat-0.png (renamed from themes/default/traybat-0.png) | bin | 922 -> 922 bytes | |||
-rw-r--r-- | themes/default/bat-100-charging.png (renamed from themes/default/traybat-100-charging.png) | bin | 1261 -> 1261 bytes | |||
-rw-r--r-- | themes/default/bat-100.png (renamed from themes/default/traybat-100.png) | bin | 839 -> 839 bytes | |||
-rw-r--r-- | themes/default/bat-20-charging.png (renamed from themes/default/traybat-20-charging.png) | bin | 1297 -> 1297 bytes | |||
-rw-r--r-- | themes/default/bat-20.png (renamed from themes/default/traybat-20.png) | bin | 923 -> 923 bytes | |||
-rw-r--r-- | themes/default/bat-40-charging.png (renamed from themes/default/traybat-40-charging.png) | bin | 1288 -> 1288 bytes | |||
-rw-r--r-- | themes/default/bat-40.png (renamed from themes/default/traybat-40.png) | bin | 925 -> 925 bytes | |||
-rw-r--r-- | themes/default/bat-60-charging.png (renamed from themes/default/traybat-60-charging.png) | bin | 1305 -> 1305 bytes | |||
-rw-r--r-- | themes/default/bat-60.png (renamed from themes/default/traybat-60.png) | bin | 912 -> 912 bytes | |||
-rw-r--r-- | themes/default/bat-80-charging.png (renamed from themes/default/traybat-80-charging.png) | bin | 1280 -> 1280 bytes | |||
-rw-r--r-- | themes/default/bat-80.png (renamed from themes/default/traybat-80.png) | bin | 872 -> 872 bytes | |||
-rw-r--r-- | themes/default/bat-charged.png (renamed from themes/default/traybat-charged.png) | bin | 1913 -> 1913 bytes | |||
-rw-r--r-- | themes/default/cpu-0.png (renamed from themes/default/cpufreq-0.png) | bin | 939 -> 939 bytes | |||
-rw-r--r-- | themes/default/cpu-100.png (renamed from themes/default/cpufreq-100.png) | bin | 1057 -> 1057 bytes | |||
-rw-r--r-- | themes/default/cpu-25.png (renamed from themes/default/cpufreq-25.png) | bin | 942 -> 942 bytes | |||
-rw-r--r-- | themes/default/cpu-50.png (renamed from themes/default/cpufreq-50.png) | bin | 988 -> 988 bytes | |||
-rw-r--r-- | themes/default/cpu-75.png (renamed from themes/default/cpufreq-75.png) | bin | 1014 -> 1014 bytes | |||
-rw-r--r-- | tray.c | 4 |
20 files changed, 6 insertions, 6 deletions
@@ -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 Binary files differindex 9255e66..9255e66 100644 --- a/themes/default/traybat-0-charging.png +++ b/themes/default/bat-0-charging.png diff --git a/themes/default/traybat-0.png b/themes/default/bat-0.png Binary files differindex 2554a6a..2554a6a 100644 --- a/themes/default/traybat-0.png +++ b/themes/default/bat-0.png diff --git a/themes/default/traybat-100-charging.png b/themes/default/bat-100-charging.png Binary files differindex bae3a43..bae3a43 100644 --- a/themes/default/traybat-100-charging.png +++ b/themes/default/bat-100-charging.png diff --git a/themes/default/traybat-100.png b/themes/default/bat-100.png Binary files differindex fe4ba7f..fe4ba7f 100644 --- a/themes/default/traybat-100.png +++ b/themes/default/bat-100.png diff --git a/themes/default/traybat-20-charging.png b/themes/default/bat-20-charging.png Binary files differindex aabd778..aabd778 100644 --- a/themes/default/traybat-20-charging.png +++ b/themes/default/bat-20-charging.png diff --git a/themes/default/traybat-20.png b/themes/default/bat-20.png Binary files differindex 83e7065..83e7065 100644 --- a/themes/default/traybat-20.png +++ b/themes/default/bat-20.png diff --git a/themes/default/traybat-40-charging.png b/themes/default/bat-40-charging.png Binary files differindex c016a28..c016a28 100644 --- a/themes/default/traybat-40-charging.png +++ b/themes/default/bat-40-charging.png diff --git a/themes/default/traybat-40.png b/themes/default/bat-40.png Binary files differindex 3245106..3245106 100644 --- a/themes/default/traybat-40.png +++ b/themes/default/bat-40.png diff --git a/themes/default/traybat-60-charging.png b/themes/default/bat-60-charging.png Binary files differindex 1667458..1667458 100644 --- a/themes/default/traybat-60-charging.png +++ b/themes/default/bat-60-charging.png diff --git a/themes/default/traybat-60.png b/themes/default/bat-60.png Binary files differindex aa25803..aa25803 100644 --- a/themes/default/traybat-60.png +++ b/themes/default/bat-60.png diff --git a/themes/default/traybat-80-charging.png b/themes/default/bat-80-charging.png Binary files differindex b9c6991..b9c6991 100644 --- a/themes/default/traybat-80-charging.png +++ b/themes/default/bat-80-charging.png diff --git a/themes/default/traybat-80.png b/themes/default/bat-80.png Binary files differindex e649be0..e649be0 100644 --- a/themes/default/traybat-80.png +++ b/themes/default/bat-80.png diff --git a/themes/default/traybat-charged.png b/themes/default/bat-charged.png Binary files differindex 1e61940..1e61940 100644 --- a/themes/default/traybat-charged.png +++ b/themes/default/bat-charged.png diff --git a/themes/default/cpufreq-0.png b/themes/default/cpu-0.png Binary files differindex 9a1b3b4..9a1b3b4 100644 --- a/themes/default/cpufreq-0.png +++ b/themes/default/cpu-0.png diff --git a/themes/default/cpufreq-100.png b/themes/default/cpu-100.png Binary files differindex 6b63453..6b63453 100644 --- a/themes/default/cpufreq-100.png +++ b/themes/default/cpu-100.png diff --git a/themes/default/cpufreq-25.png b/themes/default/cpu-25.png Binary files differindex ae2acf6..ae2acf6 100644 --- a/themes/default/cpufreq-25.png +++ b/themes/default/cpu-25.png diff --git a/themes/default/cpufreq-50.png b/themes/default/cpu-50.png Binary files differindex 03ab5e3..03ab5e3 100644 --- a/themes/default/cpufreq-50.png +++ b/themes/default/cpu-50.png diff --git a/themes/default/cpufreq-75.png b/themes/default/cpu-75.png Binary files differindex 49e9342..49e9342 100644 --- a/themes/default/cpufreq-75.png +++ b/themes/default/cpu-75.png @@ -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); |