From dfbda438b1e9f7427e0a5efb5daed603e8a51d61 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 17 Jun 2005 12:11:53 +0000 Subject: s/PDF Version/Format 2005-06-17 Marco Pesenti Gritti * data/evince-properties.glade: * shell/ev-properties.c: (ev_properties_set_document): s/PDF Version/Format --- (limited to 'shell/ev-properties.c') 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); -- cgit v0.9.1