summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-07 18:45:20 +0200
committerraveit65 <[email protected]>2016-05-26 16:15:22 +0200
commitf800ce9e483940f5969bf1b29506f149b4a0511e (patch)
tree7b62ebba9c95401e7bc53587c87d2e66300d5fac /shell/ev-window.c
parentd7836989512d27a12c8300fca843bc97995cf65e (diff)
downloadatril-f800ce9e483940f5969bf1b29506f149b4a0511e.tar.bz2
atril-f800ce9e483940f5969bf1b29506f149b4a0511e.tar.xz
shell: Create metadata object even for temp files
Metadata won't be saved in those cases, but default settings will applied. https://bugzilla.gnome.org/show_bug.cgi?id=680145 taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-6&id=6d25b93
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f046f7af..42505b77 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2204,7 +2204,7 @@ ev_window_open_uri (EvWindow *ev_window,
g_object_unref (ev_window->priv->bookmarks);
source_file = g_file_new_for_uri (uri);
- if (!ev_file_is_temp (source_file) && ev_is_metadata_supported_for_file (source_file)) {
+ if (ev_is_metadata_supported_for_file (source_file)) {
ev_window->priv->metadata = ev_metadata_new (source_file);
ev_window_init_metadata_with_default_values (ev_window);
} else {