Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-properties.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-06-17 12:11:53 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-06-17 12:11:53 (GMT)
commitdfbda438b1e9f7427e0a5efb5daed603e8a51d61 (patch)
tree310c01f8dae87f12b8b288a6d693ed49a16f91e6 /shell/ev-properties.c
parent274f17472f798aa469fe6089291efa5379de157c (diff)
s/PDF Version/Format
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-properties.glade: * shell/ev-properties.c: (ev_properties_set_document): s/PDF Version/Format
Diffstat (limited to 'shell/ev-properties.c')
-rw-r--r--shell/ev-properties.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/shell/ev-properties.c b/shell/ev-properties.c
index 581159c..0b9d897 100644
--- a/shell/ev-properties.c
+++ b/shell/ev-properties.c
@@ -285,13 +285,8 @@ ev_properties_set_document (EvProperties *properties,
g_free (text);
}
if (info->fields_mask & EV_DOCUMENT_INFO_FORMAT) {
- char **format_str = g_strsplit (info->format, "-", 2);
-
- text = g_strdup_printf ("%s", format_str[1]);
+ text = g_strdup_printf ("%s", info->format);
set_property (xml, FORMAT_PROPERTY, text);
-
- g_free (text);
- g_strfreev (format_str);
}
if (info->fields_mask & EV_DOCUMENT_INFO_N_PAGES) {
text = g_strdup_printf ("%d", info->n_pages);