summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-06-27 11:42:14 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-06-27 11:42:14 +0000
commit624e9bf53cc5cc40fc82b58287c005fda1886e00 (patch)
tree03e5ace3f436a160aa0c337806acaf579eb3de36
parent0e142d9947c70bfd399ba5000d0cbe75daae1a1b (diff)
downloaddrakx-backup-do-not-use-624e9bf53cc5cc40fc82b58287c005fda1886e00.tar
drakx-backup-do-not-use-624e9bf53cc5cc40fc82b58287c005fda1886e00.tar.gz
drakx-backup-do-not-use-624e9bf53cc5cc40fc82b58287c005fda1886e00.tar.bz2
drakx-backup-do-not-use-624e9bf53cc5cc40fc82b58287c005fda1886e00.tar.xz
drakx-backup-do-not-use-624e9bf53cc5cc40fc82b58287c005fda1886e00.zip
calling Gtk2->set_locale at each ugtk2 object creation should be
unneeded (Gtk2->init initializes internationalization stuff of Gtk2), and it breaks my setlocale call in rpmdrake
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 6f9bd29f6..03fd0f1c6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -774,8 +774,6 @@ add_icon_path(@icon_paths,
sub new {
my ($type, $title, %opts) = @_;
- Gtk2->set_locale;
-
my $o = bless { %opts }, $type;
$o->_create_window($title);
while (my $e = shift @tempory::objects) { $e->destroy }