diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-08-30 17:37:54 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:37 +0100 |
commit | 465e8f2473783697a8b0ea890ab4251a36ca6f92 (patch) | |
tree | 2a6a7c54fc2cbd98935275354d09b041d7c5d147 /perl-install | |
parent | 72b8c1126664f9c26c031cafa71ddca4fb112de6 (diff) | |
download | drakx-465e8f2473783697a8b0ea890ab4251a36ca6f92.tar drakx-465e8f2473783697a8b0ea890ab4251a36ca6f92.tar.gz drakx-465e8f2473783697a8b0ea890ab4251a36ca6f92.tar.bz2 drakx-465e8f2473783697a8b0ea890ab4251a36ca6f92.tar.xz drakx-465e8f2473783697a8b0ea890ab4251a36ca6f92.zip |
fix setting locale with Gtk3
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 2 | ||||
-rw-r--r-- | perl-install/install/gtk.pm | 2 | ||||
-rw-r--r-- | perl-install/install/steps_gtk.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index a19b1c057..ea96ed8c6 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1201,7 +1201,7 @@ sub selectLanguage_standalone { ]); $locale->{utf8} = !$non_utf8; lang::set($locale); - Gtk3->set_locale if $in->isa('interactive::gtk'); + c::init_setlocale() if $in->isa('interactive::gtk'); lang::lang_changed($locale) if $old_lang ne $locale->{lang}; } diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index a60d6d678..ee0899b2e 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -202,7 +202,7 @@ q(<fontconfig> } Gtk3->init; - Gtk3->set_locale; + c::init_setlocale(); } #------------------------------------------------------------------------------ diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index 928c29336..c55324f84 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -180,7 +180,7 @@ sub leavingStep { sub charsetChanged { my ($o) = @_; - Gtk3->set_locale; + c::init_setlocale(); install::gtk::load_font($o); install::gtk::create_steps_window($o); } |