diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-13 16:31:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-13 16:31:01 +0000 |
commit | 85e3a733f5ab73bff9a5d3a6e29eb0ceac631179 (patch) | |
tree | c400febdf457dee4be6fec8231b841b4e18b8ee3 /bin | |
parent | bc62bd515fce6f9faca5955d1cd4fb41664133f1 (diff) | |
download | drakx-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-x | bin/drakproxy | 3 |
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); |