Dear Josselin, thanks for your answers.

The program for which I want to add a file icon is PerlPrimer, and only
provides a 32x32 XPM icon. If I submit the following patch to the bug
448094, would you, as upstream author, recommend to the debhelper
maintainer to incorporate it ?

--- /usr/bin/dh_icons   2007-11-03 04:18:55.000000000 +0100
+++ dh_icons    2008-01-03 16:58:13.000000000 +0100
@@ -46,7 +46,7 @@
                        next if $subdir =~ /^\./;
                        my $needs_cache = 0;
                        find sub {
-                               $needs_cache = 1 if -f and (/\.png$/ or 
/\.svg$/ or /\.jpg$/);
+                               $needs_cache = 1 if -f and (/\.png$/ or 
/\.svg$/ or /\.jpg$/ or /\.xpm$/);
                        }, "$icondir/$subdir" ;
                        push @dirlist, "$baseicondir/$subdir" if $needs_cache;
                }


For PerlPrimer, I declared a specific mime type as text/x-perlprimer.
Apparently you suggetst that if I place an icon named
gnome-mime-text-x-perlprimer.xpm in /usr/share/icons/hicolor/32x32/mimetypes/,
it would work but break thinks. Can you give me details on the problems it
creates ?

Does anybody know if a desktop manager follows the FreeDesktop standard for
icon names? If I put an icon named text-x-perlprimer.xpm somewhere in
/usr/share/icons/hicolor/NxN/mimetypes, will it be useless everywhere ?

Lastly, for symlinks, is there any recommentation on where to put the real
file?

Have a nice day, and of course a nice year.

-- 
Charles Plessy
http://charles.plessy.org
Wakō, Saitama, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to