summaryrefslogtreecommitdiffstats
path: root/drakmenustyle
diff options
context:
space:
mode:
Diffstat (limited to 'drakmenustyle')
-rwxr-xr-xdrakmenustyle8
1 files changed, 1 insertions, 7 deletions
diff --git a/drakmenustyle b/drakmenustyle
index d950bad..f1646bc 100755
--- a/drakmenustyle
+++ b/drakmenustyle
@@ -65,12 +65,6 @@ if ($value eq 'use_system_settings') {
setVarsInSh($cfg_file, { MDV_MENU_STYLE => $value });
}
-my $msg = N("The change is done, but to be effective you must logout");
if ($old_value ne $value) {
- if (my $wm = $> && any::running_window_manager()) {
- $in->ask_yesorno('', $msg, 1)
- and any::ask_window_manager_to_logout($wm);
- } else {
- $in->ask_warn('', $msg);
- }
+ any::ask_for_X_restart($in);
}