Mercurial > pidgin
view gaim2blt.pl @ 8071:4dede940939c
[gaim-migrate @ 8769]
(22:19:37) deryni: LSchiere2: yay, you have commit access, want to fix gaim_blist_node_set_int? setting->type = GAIM_BLIST_NODE_SETTING_STRING; to setting->type = GAIM_BLIST_NODE_SETTING_INT; unless I'm missing something.
(22:19:56) marv: Sean should be careful, I not really sure, but it sounds like that lucus guy might be decompiling too.
(22:19:58) LSchiere2: deryni: what in the world are you talking about?
(22:20:14) deryni: LSchiere2: sorry, let's try this slower
(22:20:26) deryni: I think gaim_blist_node_set_int in blist.c is broken
(22:21:30) deryni: I think the "setting->type = " is wrong, should be _SETTING_INT not _SETTING_STRING
(22:22:03) LSchiere2: deryni: that's where you loose me. where am i looking?
(22:22:26) deryni: line 2570 here
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 11 Jan 2004 03:23:55 +0000 |
parents | 66bf7ecefedd |
children |
line wrap: on
line source
#!/usr/bin/perl -w # Original by Andy Harrison, # Rewrite by Decklin Foster, # Available under the GPL. package Gaim2Blt; use strict; use Getopt::Std; use vars qw(%opts $in_group); getopts('s:', \%opts); die "usage: $0 -s 'screen name' gaim.buddy\n" unless $opts{s}; print <<"EOF"; Config { version 1 } User { screenname "$opts{s}" } Buddy { list { EOF while (<>) { chomp; my ($type, $args) = split ' ', $_, 2; next unless $type; if ($type eq 'g') { print " }\n" if ($in_group); print qq( "$args" {\n); $in_group = 1; } elsif ($type eq 'b') { my ($buddy, $alias) = split /:/, $args; print qq( "$buddy"\n); } } print <<"EOF"; } } } EOF