summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakproxy3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/drakproxy b/bin/drakproxy
index 0752f7b..dade2d7 100755
--- a/bin/drakproxy
+++ b/bin/drakproxy
@@ -34,8 +34,7 @@ my $in = 'interactive'->vnew('su');
if (network::network::miscellaneous_choose($in, $u)) {
network::network::proxy_configure($u);
if ($in->ask_okcancel(N("Warning"), N("You need to log out and back in again for changes to take effect"), 1)) {
- my $wm = any::running_window_manager();
- $wm and any::ask_window_manager_to_logout($wm);
+ any::ask_for_X_restart($in);
}
}
$in->exit(0);