diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-01 14:01:30 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-01 14:01:30 +0000 |
commit | 289056715adc5bcf16d138c0165bc35a658e3077 (patch) | |
tree | 754ddc395b0a737048d6f055fa85ac936741b782 /perl-install | |
parent | 514b35157ae8e72b6ffd424ce45d53ba1893b838 (diff) | |
download | drakx-289056715adc5bcf16d138c0165bc35a658e3077.tar drakx-289056715adc5bcf16d138c0165bc35a658e3077.tar.gz drakx-289056715adc5bcf16d138c0165bc35a658e3077.tar.bz2 drakx-289056715adc5bcf16d138c0165bc35a658e3077.tar.xz drakx-289056715adc5bcf16d138c0165bc35a658e3077.zip |
- webclient alternative is obsolete, launch browser with new
/usr/bin/www-browser
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index eef475791..f96322387 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1006,23 +1006,6 @@ sub running_window_manager() { undef; } -sub launch_browser_with_wm { - my ($link) = @_; - my $browser = $ENV{BROWSER} || $ENV{HELP_BROWSER} || find { -x "/usr/bin/$_" } qw(mozilla-firefox mozilla konqueror epiphany galeon); - my %h = ( - 'kwin' => "webclient-kde", - 'gnome-session' => "webclient-gnome", - 'other' => $browser, - ); - my $wm = any::running_window_manager(); - $wm = 'other' if !member($wm, 'kwin', 'gnome-session'); - my $cmd = $h{$wm} or return; - $cmd .= " $link"; - log::l("Loading URL: $link"); - system("$cmd &"); - 1; -} - sub ask_window_manager_to_logout { my ($wm) = @_; |