[Pidgin] #10521: No Smiley previews in Pref Screen (linux) if theme file has \r\n linebreaks

Pidgin trac at pidgin.im
Thu Oct 15 12:36:36 EDT 2009


#10521: No Smiley previews in Pref Screen (linux) if theme file has \r\n linebreaks
----------------------+-----------------------------------------------------
Reporter:  projekt21  |        Type:  defect      
  Status:  new        |   Component:  pidgin (gtk)
 Version:  2.6.2      |    Keywords:              
----------------------+-----------------------------------------------------
 After installing a third party smiley theme from
 http://wiki.andreineculau.com/Original_Smileys_Theme_for_Pidgin I noticed
 that the preview icon (in the pref screen) is not displayed (Icon=icon.png
 from theme file).

 Running strace gives:
 {{{
 open("/home/alex/.purple/smileys/pidgin-original-gtalk-colored/../pidgin-
 original/gtalk-colored/logo.png^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
 such file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-qq/../pidgin-
 original/qq/0.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
 directory)
 open("/home/alex/.purple/smileys/pidgin-original-yahoo/../pidgin-
 original/yahoo/happy.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-skype/../pidgin-
 original/skype/0100-smile.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
 such file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-aim/../pidgin-
 original/aim/smiling.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-tlen/../pidgin-
 original/tlen/usmiech.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-gtalk-square/../pidgin-
 original/gtalk-square/logo.png^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
 such file or directory)
 open("/home/alex/.purple/smileys/pidgin-original-sametime/../pidgin-
 original/sametime/happy.gif^M", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 }}}
 Looks like there is a problem with the DOS line break (\r\n)

 After running dos2unix over the theme files, all previews are visible.
 This is just a minor annoyance. Can it be fixed?

 Pidgin: 2.6.2

 Linux: 2.6.22.19-0.4-bigsmp (Suse 10.3)

 gtk2-2.12.9-36.2c

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10521>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list