X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-application.c;h=3b162ce0faebbe63fe4e4c5a99fcd1e1f2a3e597;hb=270571fe9d9ab085696c5b2af5a484dfc272b7a0;hp=d10914b3588d243a9e6eb1f0e3a1ffeaab766570;hpb=bca369672136e5ff831ece9832afd42085808fba;p=evince.git diff --git a/shell/ev-application.c b/shell/ev-application.c index d10914b3..3b162ce0 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -195,11 +195,12 @@ ev_application_open (EvApplication *application, GError *err) all_filter = gtk_file_filter_new (); gtk_file_filter_set_name (all_filter, _("All Files")); gtk_file_filter_add_pattern (all_filter, "*"); + gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), all_filter); - gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (chooser), documents_filter); gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser), TRUE); + gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), FALSE); if (gtk_dialog_run (GTK_DIALOG (chooser)) == GTK_RESPONSE_OK) { GSList *uris;