1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix path to Gnome Pie icon

This commit is contained in:
Nicola Vitale 2015-02-22 14:32:38 +00:00
parent a4c576c273
commit 23f0908551
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379606

View File

@ -17,7 +17,7 @@
- GLib.Path.get_dirname(GLib.FileUtils.read_link("/proc/self/exe"))+"/resources",
- icon + ".svg"
- ));
+ var file = GLib.File.new_for_path(GLib.Path.build_filename("%%DATADIR%%/resources", icon + ".svg"));
+ var file = GLib.File.new_for_path(GLib.Path.build_filename("%%PREFIX%%/share/icons/hicolor/scalable/apps/", icon + ".svg"));
if (!file.query_exists())
this.indicator.set_from_icon_name(icon);