diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2003-02-18 20:39:49 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2003-02-18 20:39:49 +0000 |
commit | 0fbad48526c7a23536c1651c01bce8e0633d96d0 (patch) | |
tree | 64bba8d2a391b2d42f22dcf876b9c1a397210cf6 /perl-install/standalone/net_monitor | |
parent | 0543dc7b3572717603755aaf2ed26346f566bc6f (diff) | |
download | drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.gz drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.bz2 drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.xz drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.zip |
Deactivated translations that can't be handled by gtk1 for gtk1 tools;
drakfont: call fc-cache without specifying the path, fc-cache is smart
enough to do the right thing, and that way it will also catch fonts
from other directories that could have been installed manually.
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-x | perl-install/standalone/net_monitor | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index cc10ce093..8889986d0 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -23,6 +23,10 @@ use lib qw(/usr/lib/libDrakX); use strict; use standalone; #- warning, standalone must be loaded very first, for 'explanations' +#- languages that can't be displayed with gtk1, so we unset translations +#- for them until this tool is ported to gtk2 +if ($ENV{LANGUAGE} =~ /\b(ar|he|hi|ta)/) { $ENV{LANGUAGE} = "C" }; + use my_gtk qw(:helpers :wrappers); use common; use network::netconnect; |