(trunk gtk) fix ticket #4827 'clicking cancel in Open URL dialog does nothing'
This commit is contained in:
parent
217da21bb8
commit
fd5014aef5
|
@ -471,6 +471,11 @@ onOpenURLResponse( GtkDialog * dialog, int response, gpointer user_data )
|
|||
g_free( url );
|
||||
}
|
||||
}
|
||||
else if( response == GTK_RESPONSE_CANCEL )
|
||||
{
|
||||
handled = TRUE;
|
||||
}
|
||||
|
||||
|
||||
if( handled )
|
||||
gtk_widget_destroy( GTK_WIDGET( dialog ) );
|
||||
|
|
Loading…
Reference in New Issue