Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-10 14:49:25 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-10 14:49:25 (GMT)
commit270571fe9d9ab085696c5b2af5a484dfc272b7a0 (patch)
treeeaf692d3cc9270c54228a9e473c948ee217b9c02 /shell/ev-application.c
parentf79d6e977948ded983460e2756fe6fc628719305 (diff)
Transfer remote documents to tmp directory to display them later
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r--shell/ev-application.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index d10914b..3b162ce 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;