summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-27 12:06:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-27 12:06:32 +0000
commitc8222044ee8e186be9cd76e4403a7894f0091fb8 (patch)
tree7a9f0c42559c03a9716053315bd7a3e707ca5e60 /move
parentc3e69a205196eac7007718087fe1b54ee51efa48 (diff)
downloaddrakx-backup-do-not-use-c8222044ee8e186be9cd76e4403a7894f0091fb8.tar
drakx-backup-do-not-use-c8222044ee8e186be9cd76e4403a7894f0091fb8.tar.gz
drakx-backup-do-not-use-c8222044ee8e186be9cd76e4403a7894f0091fb8.tar.bz2
drakx-backup-do-not-use-c8222044ee8e186be9cd76e4403a7894f0091fb8.tar.xz
drakx-backup-do-not-use-c8222044ee8e186be9cd76e4403a7894f0091fb8.zip
use a Reboot.desktop to have ability to reboot graphically in menu
it's not too good because it's not top-down in the menu, but to do that we'd need to modify kdebase or launche kde with kdm it-de-es translations taken from gtk+mdk.mo
Diffstat (limited to 'move')
-rwxr-xr-xmove/make_live1
-rw-r--r--move/tree/Reboot.desktop13
2 files changed, 14 insertions, 0 deletions
diff --git a/move/make_live b/move/make_live
index 3a16f249a..e72aa417c 100755
--- a/move/make_live
+++ b/move/make_live
@@ -90,6 +90,7 @@ print "Making live in $::prefix directory.\n";
installPackages();
run_program::rooted($::prefix, 'ldconfig');
touch("$::prefix/etc/menu/enable_simplified");
+ cp_af('tree/Reboot.desktop', "$::prefix/usr/share/applnk-mdk-simplified");
$ENV{LC_ALL} = 'en_US'; #- update-menus doesn't work when there is no locale (aka locale "C")
run_program::rooted($::prefix, 'update-menus', '-n');
run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file
diff --git a/move/tree/Reboot.desktop b/move/tree/Reboot.desktop
new file mode 100644
index 000000000..71449b6c2
--- /dev/null
+++ b/move/tree/Reboot.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Reboot
+Exec=halt_reboot
+Terminal=false
+Icon=exit.png
+Type=Application
+Separator=true
+ForceLast=true
+
+Name[fr]=Redémarrer
+Name[it]=Riavvia
+Name[es]=Reiniciar
+Name[de]=Neustart