changeset 2432:db80c2fc0b57

get rid of hardcoded paths
author Eugene Zagidullin <e.asphyx@gmail.com>
date Thu, 06 Mar 2008 22:58:28 +0300
parents fd2ef06da1c5
children 60936e29c803
files src/statusicon/si_ui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/statusicon/si_ui.c	Wed Mar 05 20:03:37 2008 +0900
+++ b/src/statusicon/si_ui.c	Thu Mar 06 22:58:28 2008 +0300
@@ -383,7 +383,7 @@
 		si_pixbuf = gdk_pixbuf_new_from_file (path, NULL);
 		
 	} else {
-		si_pixbuf = gdk_pixbuf_new_from_file ("/usr/share/audacious/images/audacious_player.xpm", NULL);
+		si_pixbuf = gdk_pixbuf_new_from_file (DATA_DIR "/images/audacious_player.xpm", NULL);
 	}
   si_scaled_pixbuf = gdk_pixbuf_scale_simple( si_pixbuf , size , size , GDK_INTERP_BILINEAR );
   gtk_image_set_from_pixbuf( GTK_IMAGE(image) , si_scaled_pixbuf );