|
|
Subject: Re: [gtk2-perl-xs] Gnome2::About - msg#00140
List: gnome.gtk+.perl
On Thu, 24 Apr 2003, Szilveszter Farkas wrote:
> hi,
>
> > I used the following test code and had no problems, but I am using
> > a couple day old version of gtk-perl-xs. I will fetch the latest
> > and try again
>
> [snip]
>
> thanks for your help, i didn't include this line in the script:
>
> > Gnome2::Program->init('test', '0.1', 'libgnomeui');
>
> after inserting this one, everything went smoothly!
>
> [snip]
>
> regards,
> phanatic
> _______________________________________________
> gtk-perl-list mailing list
> gtk-perl-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
Note that 'test' should be your program name with no spaces.
and '0.1' sould have been VERSION, but that is what I get for
copy and pasting <grin />.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: [gtk2-perl-xs] Gnome2::About
hi,
> I used the following test code and had no problems, but I am using
> a couple day old version of gtk-perl-xs. I will fetch the latest
> and try again
[snip]
thanks for your help, i didn't include this line in the script:
> Gnome2::Program->init('test', '0.1', 'libgnomeui');
after inserting this one, everything went smoothly!
[snip]
regards,
phanatic
Next Message by Date:
click to view message preview
Re: [gtk2-perl-xs] Gnome2::About
Phanatic said:
> hi all!
>
> it's me again, with another bug report (is it okay to do this via this
> mailing list, or shall i email the uthor directly, or maybe use sf's
> bugtracker?)...
we're in the heavy dev stage at this point, so just bug us via email. and we
honestly do appreciate the bug reports -- keep 'em coming!
> (debgtk.pl:1434): Gtk-WARNING **: Invalid input string
>
> (debgtk.pl:1434): Gdk-WARNING **: Error converting from UTF-8 to
> 'ISO-8859-2': Invalid byte sequence in coversion input
>
> (debgtk.pl:1434): Gdk-WARNING **: Error converting from UTF-8 to
> 'ISO-8859-2': Invalid byte sequence in coversion input
>
> and some parts of the about window are not shown okay:
> - credits button
> - credits window (no strings except th 'author' passe through the function)
i don't see this problem, but i think i know what's causing it.
gtk2-perl-xs currently does not do anything special to unicode strings,
because i am a country bumpkin in the 'states and have no experience with or
use for unicode, nor any way to type it.
the code still uses gchar all over the place, so i was planning to make it
just a new typemap for gchar which does the appropriate utf8 conversions, but
like i said, i don't know what those are.
it will be relatively easy --- in gperl.h declare and in GType.xs define
functions newSVgchar and SvGChar which convert between SV and gchar*
appropriately; then create in gperl's typemap a new entry to use those instead
of simply mapping gchar* to T_PV as it currently does.
a complication is the fact that in many places we handle gchars without the
typemap. these need to be replaced with newSVgchar / SvGChar instead of
newSVpv / SvPV_nolen.
any volunteers?
--
muppet <scott@xxxxxxxxxxx>
Previous Message by Thread:
click to view message preview
Re: [gtk2-perl-xs] Gnome2::About
hi,
> I used the following test code and had no problems, but I am using
> a couple day old version of gtk-perl-xs. I will fetch the latest
> and try again
[snip]
thanks for your help, i didn't include this line in the script:
> Gnome2::Program->init('test', '0.1', 'libgnomeui');
after inserting this one, everything went smoothly!
[snip]
regards,
phanatic
Next Message by Thread:
click to view message preview
Re: [gtk2-perl-xs] Gnome2::About
hi,
> Note that 'test' should be your program name with no spaces.
> and '0.1' sould have been VERSION, but that is what I get for
> copy and pasting <grin />.
of course, i replaced those with my data...
and i ask you again: please don't cc: me, because i'm subscribed to the list...
and just a small note. now i get a little FIXME message when running the app ;)
regards,
phanatic
|
|