From 3cd622cf4085e8c4257ff17c2481d92d3bc443f9 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 3 Jan 2020 14:36:23 +0100 Subject: Display.c: drop icon file support The normal case was to use the builtin icons. There were two cases where the icon file was read from disk: 1) /usr/NX/share/images/nxagent.xpm was existing which normally is not there 2) case 2 was not true and nxagent.xpm was existing somewhere in the PATH (!) (replace nxagent.xpm by x2goagent.xpm if in x2gp mode) Scanning the path from the PATH variable for xpm files is kind of unexpected and dangerous, too (think of automounter triggers or invalid xpm files). Also remove the xpm files from the distribution. --- debian/nxagent.install | 1 - 1 file changed, 1 deletion(-) (limited to 'debian/nxagent.install') diff --git a/debian/nxagent.install b/debian/nxagent.install index 402b3b529..29d93f54c 100644 --- a/debian/nxagent.install +++ b/debian/nxagent.install @@ -3,6 +3,5 @@ usr/bin/nxagent usr/lib/*/nx/X11/ usr/share/man/man1/nxagent.1* usr/share/nx/VERSION.nxagent -usr/share/pixmaps/nxagent.xpm # FIXME: compatibility symlink, drop for 3.6.0 release usr/lib/*/nx/bin/nxagent -- cgit v1.2.3