summaryrefslogtreecommitdiffstats
path: root/move/tree/mdk_totem
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-21 14:37:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-21 14:37:47 +0000
commitdf0f7fe03cdc33733f12555a520635bff429d6ee (patch)
tree6d5fd525d0b955b7ebb44b387f94c231190c39bd /move/tree/mdk_totem
parenta10096d569591324399f3ae1d4b7ce587bd04a27 (diff)
downloaddrakx-backup-do-not-use-df0f7fe03cdc33733f12555a520635bff429d6ee.tar
drakx-backup-do-not-use-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.gz
drakx-backup-do-not-use-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.bz2
drakx-backup-do-not-use-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.xz
drakx-backup-do-not-use-df0f7fe03cdc33733f12555a520635bff429d6ee.zip
like live_tree_boot, one must handle live_tree_i18n_*
Diffstat (limited to 'move/tree/mdk_totem')
-rwxr-xr-xmove/tree/mdk_totem6
1 files changed, 5 insertions, 1 deletions
diff --git a/move/tree/mdk_totem b/move/tree/mdk_totem
index a4544fca8..5fbda05f4 100755
--- a/move/tree/mdk_totem
+++ b/move/tree/mdk_totem
@@ -105,6 +105,7 @@ my %file2loop = do {
ugtk2::gtkset_mousecursor_normal(); #- for restoring a normal in any case
ugtk2::flush();
+my ($lang) = map { if_(/live_tree_i18n_(.*)\.clp/, $1) } keys %file2loop;
my $totem_pid = $$;
if (my $pid = fork()) {
@@ -112,7 +113,10 @@ if (my $pid = fork()) {
$ENV{G_BROKEN_FILENAMES} = 1;
exec 'totem';
} else {
- exec 'sudo', 'mdk_behind_totem',
+ exec 'sudo', 'mdk_behind_totem',
+ '--lang', $lang,
+ '--i18n-loop', $file2loop{"live_tree_i18n_$lang.clp"},
+ '--boot-loop', $file2loop{'live_tree_boot.clp'},
'--boot-loop', $file2loop{'live_tree_boot.clp'},
'--main-loop', $file2loop{'live_tree.clp'},
'--totem-pid', $totem_pid,