aMSN Forums
May 25, 2013, 06:58:11 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: bigsmileys on amsn 0.97  (Read 24975 times)
abe
Newbie

Offline Offline

Posts: 5



View Profile
« Reply #30 on: January 04, 2008, 02:02:13 pm »

hi davide! it's exactly the same that happens to me_ of course you make people understood better than me Wink
i'm using 0.97 on windows vista (Sad), but i've the same problem with 0.96 on XP_ what's your OS?
_
hey, wait!! i'm italian too_  can it be a problem of localization??
Logged

abe - WARNING: i'm not so good in english.. so, be patient, please :wink:
written using WordReference.com for almost every word Tongue
davideciarmi
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #31 on: January 05, 2008, 03:49:24 pm »

i'm using Ubuntu Linux OS  Cheesy
but we are the only that have this problem? only the italian user? :S
Logged
IlNidoDelChiurlo
Newbie

Offline Offline

Posts: 16


View Profile
« Reply #32 on: January 08, 2008, 08:21:12 pm »

Hello,
also I'm an italian user and have the same problem.
I've looked at the source code of the plugin and it seems that the problem is due to the "space" character in the name of the smiley category. For the italian users the default category of new smiley is "Altre Impostazioni" so this problem appears immediately.
The easy way to fix this problem is to manually edit the config file "config.xml" (usually located in the folder "C:\Documents and Settings\[PC_usrename]\amsn\[aMSN_username]") and change the category of each smiley.
Moerover I've edited the code to permanently fix the problem, but this is not the right way to proceed becuse I don't know very well the code and I'm not sure to had fixed any problem. The best way is that the creator of the plugin will release a new version with the necessary modifications.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #33 on: January 08, 2008, 09:36:36 pm »

Hi IlNidoDelChiurlo,
Maybe you could post the diff here so that your changes can be reviewed, fixed if necessary and merged into the next version, that will help the plugin author fix the problem faster (or we could do it if he's not around...)
Logged

KaKaRoTo
IlNidoDelChiurlo
Newbie

Offline Offline

Posts: 16


View Profile
« Reply #34 on: January 09, 2008, 11:28:08 pm »

This is the complete plugin code (with my modification) but I don't think that they are enought avoid problems with categories names containg spaces.

On row n. 220 find the code
Code:
bind $w.c.$categ_num <Button1-ButtonRelease> "bind .smile_selector <Leave> \"\";::bigsmileys::BigSmileysMenu \[winfo pointerx $w\] \[winfo pointery $w\] $text $categ $custom_emotions_categories($categ) $w [winfo width $w] [winfo height $w]"

and replace with
Code:
bind $w.c.$categ_num <Button1-ButtonRelease> "bind .smile_selector <Leave> \"\";::bigsmileys::BigSmileysMenu \[winfo pointerx $w\] \[winfo pointery $w\] \"$text\" \"$categ\" \"$custom_emotions_categories($categ)\" $w [winfo width $w] [winfo height $w]"


On row n. 466 find the code
Code:
bind $w <Leave> "::smiley::handleLeaveEvent $w $x_geo $y_geo"

and replace with
Code:
bind $w <Leave> "::smiley::handleLeaveEvent \"$w\" $x_geo $y_geo"


On row n. 478  find the code
Code:
bind $w.c <Leave> "::smiley::handleLeaveEvent $w $x_geo $y_geo;"

and replace with
Code:
bind $w.c <Leave> "::smiley::handleLeaveEvent \"$w\" $x_geo $y_geo"


On row n. 479 find the code
Code:
bind $w.c <Unmap> "bind $fatw <Leave> \"::smiley::handleLeaveEvent $fatw $fatx_geo $faty_geo\""

and replace with
Code:
bind $w.c <Unmap> "bind $fatw <Leave> \"::smiley::handleLeaveEvent \\\"$fatw\\\" $fatx_geo $faty_geo\""


On row n. 561 find the code
Code:
bind $w.c <Leave> "::smiley::handleLeaveEvent $w $x_geo $y_geo;"

and replace with
Code:
bind $w.c <Leave> "::smiley::handleLeaveEvent \"$w\" $x_geo $y_geo;"


On row n. 562 find the code
Code:
bind $w.c <Unmap> "bind $fatw <Leave> \"::smiley::handleLeaveEvent $fatw $fatx_geo $faty_geo\""

and replace with
Code:
bind $w.c <Unmap> "bind $fatw <Leave> \"::smiley::handleLeaveEvent \\\"$fatw\\\" $fatx_geo $faty_geo\""


On row n. 680 find the code
Code:
bind $w <Leave> "::smiley::handleLeaveEvent $w $x_geo $y_geo"

and replace with
Code:
bind $w <Leave> "::smiley::handleLeaveEvent \"$w\" $x_geo $y_geo"
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!