aboutsummaryrefslogtreecommitdiff
path: root/tray.c
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 /tray.c
parentd2cecaa14db150ffe8e2735113c65c43e6889439 (diff)
downloadparamano-5dab2033e1cf4ce6fbb855bb051cc25232970bcc.tar.xz
Renamed icon files
Diffstat (limited to 'tray.c')
-rw-r--r--tray.c4
1 files changed, 2 insertions, 2 deletions
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);