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:
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);