Re: [gtk2-perl-xs] Gnome2::About



On Thu, 24 Apr 2003, Szilveszter Farkas wrote:

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?)...

i'm trying to use Gnome2::About, i call it like this:

Gnome2::About->new( "debGTK", VERSION, "(c) 2003 by Szilveszter Farkas (Phanatic)", "a user-friendly 
frontend for dh_make and debchange", "Szilveszter Farkas (Phanatic) <linux\ psoftwares hu>" )->show;

i get several warnings when clicking the 'About' button i have (actually when the above code is run):

(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)

regards,
phanatic

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

use Gtk2;
use Gnome2;
use strict;

use constant VERSION => '0.1';

Gtk2->init;

Gnome2::Program->init('test', '0.1', 'libgnomeui');

my $w = Gtk2::Window->new('toplevel');
my $b = Gtk2::Button->new('About');
$b->signal_connect(
        'clicked',
        sub {
                Gnome2::About->new(
                        'debGTK',
                        VERSION,
                        '(c) 2003 by Szilveszter Farkas (Phanatic)',
                        'a user-friendly frontend for dh_make and debchange',
                        'Szilveszter Farkas (Phanatic) <linux\ psoftwares hu>'
                )->show;
        }
);
$w->add($b);
$w->show_all;

Gtk2->main;




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]