From 85e3a733f5ab73bff9a5d3a6e29eb0ceac631179 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 May 2008 16:31:01 +0000 Subject: reuse any::ask_for_X_restart() --- bin/drakproxy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') 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); -- cgit v1.2.1