[I wasn't sure where to put this so the moderators can move it if needed]
Hi,
I made a quick python script to generate the smileys line in fckconfig.js. All you have to tell it is the path to the smileys directory. It was just for a quick task for me but I thought that it might help others.
#!/usr/bin/python import os path = "/usr/share/pixmaps/pidgin/emotes/default/" files = os.listdir(path) files.remove('theme') print "FCKConfig.SmileyImages = %s;"%(files)
I made it so that I can use the really cool Pidgin smileys made by Hylke Bons in FCKEditor.
This is the single line for them:
FCKConfig.SmileyImages =['good.png', 'mean.png', 'highfive.png', 'yin-yang.png', 'rain.png', 'clown.png', 'act-up.png', 'sheep.png', 'arrogant.png', 'waving.png', 'console.png', 'clock.png', 'skywalker.png', 'rose-dead.png', 'freaked-out.png', 'handshake.png', 'moon.png', 'boy.png', 'island.png', 'worship.png', 'thinking.png', 'devil.png', 'shut-mouth.png', 'bad.png', 'plate.png', 'vampire.png', 'nailbiting.png', 'talktohand.png', 'music.png', 'lashes.png', 'computer.png', 'glasses-nerdy.png', 'smile.png', 'clover.png', 'beer.png', 'msn.png', 'curl-lip.png', 'wilt.png', 'go-away.png', 'eat.png', 'yawn.png', 'snowman.png', 'time-out.png', 'moneymouth.png', 'foot-in-mouth.png', 'hug-left.png', 'in-love.png', 'pissed-off.png', 'giggle.png', 'msn-away.png', 'tv.png', 'lying.png', 'shout.png', 'sleepy.png', 'pirate.png', 'meeting.png', 'present.png', 'excruciating.png', 'musical-note.png', 'rotfl.png', 'mobile.png', 'airplane.png', 'soldier.png', 'pig.png', 'kiss.png', 'eyeroll.png', 'disapointed.png', 'star.png', 'shock.png', 'drool.png', 'party.png', 'messed.png', 'peace.png', 'pizza.png', 'handcuffs.png', 'snicker.png', 'hug-right.png', 'bye.png', 'kissing.png', 'curse.png', 'sweat.png', 'sick.png', 'embarrassed.png', 'smile-big.png', 'sigarette.png', 'snail.png', 'cat.png', 'pumpkin.png', 'search.png', 'drink.png', 'can.png', 'love-over.png', 'rainbow.png', 'coins.png', 'secret.png', 'sad.png', 'turtle.png', 'rose.png', 'confused.png', 'silly.png', 'call-me.png', 'hammer.png', 'girl.png', 'phone.png', 'brb.png', 'mail.png', 'alien.png', 'struggle.png', 'desire.png', 'car.png', 'bulgy-eyes.png', 'stop.png', 'fingers-crossed.png', 'teeth.png', 'bashful.png', 'poop.png', 'beauty.png', 'coffee.png', 'mad-tongue.png', 'monkey.png', 'crying.png', 'lamp.png', 'tremble.png', 'terror.png', 'soccerball.png', 'qq.png', 'love.png', 'hypnotized.png', 'msn_online.png', 'dont-know.png', 'smirk.png', 'cow.png', 'waiting.png', 'starving.png', 'bowl.png', 'chicken.png', 'angry.png', 'pray.png', 'quiet.png', 'on-the-phone.png', 'dog.png', 'cute.png', 'flag.png', 'cowboy.png', 'dance.png', 'blowkiss.png', 'msn-busy.png', 'weep.png', 'disdain.png', 'neutral.png', 'kissed.png', 'shame.png', 'ghost.png', 'dazed.png', 'thunder.png', 'question.png', 'sarcastic.png', 'angel.png', 'victory.png', 'jump.png', 'film.png', 'bomb.png', 'sinister.png', 'cake.png', 'sun.png', 'beat-up.png', 'skeleton.png', 'doh.png', 'mohawk.png', 'knife.png', 'sidefrown.png', 'doctor.png', 'male-fighter1.png', 'clap.png', 'glasses-cool.png', 'male-fighter2.png', 'loser.png', 'camera.png', 'cyclops.png', 'female-fighter.png', 'cloudy.png', 'tongue.png', 'watermelon.png', 'pill.png', 'laugh.png', 'wink.png', 'at-wits-end.png', 'liquor.png', 'umbrella.png', 'goat.png'];
You will have to copy all the smileys to your relevant smiley theme folder. You can get them at http://www.durand.zephyrhosting.net/dump/smileys.zip