Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 560426
Collapse All | Expand All

(-)shutter.orig/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm (-1 / +2 lines)
Lines 53-59 Link Here
53
53
54
sub xdg_open {
54
sub xdg_open {
55
	my ( $self, $dialog, $link, $user_data ) = @_;
55
	my ( $self, $dialog, $link, $user_data ) = @_;
56
	system("xdg-open $link");
56
	my @args = ("xdg-open", $link);
57
	system(@args);
57
	if($?){
58
	if($?){
58
		my $response = $self->{_dialogs}->dlg_error_message( 
59
		my $response = $self->{_dialogs}->dlg_error_message( 
59
			sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
60
			sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),

Return to bug 560426