summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-13 16:31:01 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-13 16:31:01 +0000
commit85e3a733f5ab73bff9a5d3a6e29eb0ceac631179 (patch)
treec400febdf457dee4be6fec8231b841b4e18b8ee3 /bin
parentbc62bd515fce6f9faca5955d1cd4fb41664133f1 (diff)
downloaddrakx-net-85e3a733f5ab73bff9a5d3a6e29eb0ceac631179.tar
drakx-net-85e3a733f5ab73bff9a5d3a6e29eb0ceac631179.tar.gz
drakx-net-85e3a733f5ab73bff9a5d3a6e29eb0ceac631179.tar.bz2
drakx-net-85e3a733f5ab73bff9a5d3a6e29eb0ceac631179.tar.xz
drakx-net-85e3a733f5ab73bff9a5d3a6e29eb0ceac631179.zip
reuse any::ask_for_X_restart()
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);