[goobox] show uri: specify the main window instead of the dialog
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] show uri: specify the main window instead of the dialog
- Date: Sat, 29 Dec 2018 14:21:14 +0000 (UTC)
commit 279a584980dc501e1155b2c20dffdbbf7b9a9fa9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Dec 29 13:25:33 2018 +0100
show uri: specify the main window instead of the dialog
src/dlg-ripper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/dlg-ripper.c b/src/dlg-ripper.c
index 46825b4..e6cf49c 100644
--- a/src/dlg-ripper.c
+++ b/src/dlg-ripper.c
@@ -463,7 +463,7 @@ done_dialog_response_cb (GtkDialog *dialog,
char *uri;
uri = g_file_get_uri (folder);
- if (! gtk_show_uri_on_window (GTK_WINDOW (data->dialog), uri, GDK_CURRENT_TIME,
&error))
+ if (! gtk_show_uri_on_window (GTK_WINDOW (data->window), uri, GDK_CURRENT_TIME,
&error))
_gtk_error_dialog_from_gerror_run (GTK_WINDOW (data->window), _("Could not
display the destination folder"), &error);
g_free (uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]