diff options
author | Francesc Pinyol Margalef <francesc.pinyol.m@gmail.com> | 2013-12-21 13:37:33 +0100 |
---|---|---|
committer | Francesc Pinyol Margalef <francesc.pinyol.m@gmail.com> | 2013-12-21 13:37:33 +0100 |
commit | 095c6b25885ce3d22eedba8cdb98f1fd7e8708a5 (patch) | |
tree | 5bfc768996b3ddec185abeb02b602b48b14d10db /perl-install/share/po/translation_size.pl | |
parent | df60191bdbddfa7c8e5bd11a2578aae6740963c0 (diff) | |
parent | f76dc0931e47338aa9c7db257d28e5015d8a2f47 (diff) | |
download | drakx-095c6b25885ce3d22eedba8cdb98f1fd7e8708a5.tar drakx-095c6b25885ce3d22eedba8cdb98f1fd7e8708a5.tar.gz drakx-095c6b25885ce3d22eedba8cdb98f1fd7e8708a5.tar.bz2 drakx-095c6b25885ce3d22eedba8cdb98f1fd7e8708a5.tar.xz drakx-095c6b25885ce3d22eedba8cdb98f1fd7e8708a5.zip |
Merge branch 'master' of git://git.mageia.org/software/drakx
Diffstat (limited to 'perl-install/share/po/translation_size.pl')
-rwxr-xr-x | perl-install/share/po/translation_size.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/perl-install/share/po/translation_size.pl b/perl-install/share/po/translation_size.pl index ff491d08e..adc0f968b 100755 --- a/perl-install/share/po/translation_size.pl +++ b/perl-install/share/po/translation_size.pl @@ -20,26 +20,26 @@ use lib qw(../..); use common; -use ugtk2; +use ugtk3; use install_gtk; !@ARGV and die "Usage: LANGUAGE=lang_to_test $0 string_to_translate\n(for example: LANGUAGE=ja $0 Advanced)\n"; install_gtk::load_font({ locale => { lang => 'en_US' } }); -$l1 = Gtk2::Label->new($ARGV[0]); -my $v = Gtk2::VBox->new(1, 0); +$l1 = Gtk3::Label->new($ARGV[0]); +my $v = Gtk3::VBox->new(1, 0); $v->pack_start($l1, 0, 0, 0); -my $window = Gtk2::Window->new('toplevel'); +my $window = Gtk3::Window->new('toplevel'); $window->set_size_request(200, 50); $window->set_position('center'); -$window->signal_connect(key_press_event => sub { Gtk2->main_quit }); +$window->signal_connect(key_press_event => sub { Gtk3->main_quit }); $window->add($v); $window->show_all; install_gtk::load_font({ locale => { lang => $ENV{LANGUAGE} } }); -$l2 = Gtk2::Label->new(translate($ARGV[0])); +$l2 = Gtk3::Label->new(translate($ARGV[0])); $v->pack_start($l2, 0, 0, 0); $window->show_all; -Gtk2->main; +Gtk3->main; |