flatpak/org.xfce.Thunar/opendialog.patch

35 lines
1.1 KiB
Diff

diff -rp thunar-1.8.1/thunar/thunar-chooser-dialog.c thunar-1.8.1~/thunar/thunar-chooser-dialog.c
*** thunar-1.8.1/thunar/thunar-chooser-dialog.c 2018-06-14 03:44:32.000000000 +0200
--- thunar-1.8.1~/thunar/thunar-chooser-dialog.c 2018-09-22 00:56:28.454964547 +0200
*************** thunar_show_chooser_dialog (gpointer
*** 1208,1218 ****
}
/* display the chooser dialog */
! dialog = g_object_new (THUNAR_TYPE_CHOOSER_DIALOG,
! "file", file,
! "open", open,
! "screen", screen,
! NULL);
/* check if we have a toplevel window */
if (G_LIKELY (window != NULL && gtk_widget_get_toplevel (window)))
--- 1208,1214 ----
}
/* display the chooser dialog */
! dialog = gtk_app_chooser_dialog_new(screen, 0, thunar_file_get_file(file));
/* check if we have a toplevel window */
if (G_LIKELY (window != NULL && gtk_widget_get_toplevel (window)))
*************** thunar_show_chooser_dialog (gpointer
*** 1234,1240 ****
/* display the dialog */
gtk_widget_show (dialog);
}
-
-
-
-
--- 1230,1232 ----