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 --- diff --git a/ChangeLog b/ChangeLog index a737a0a..5d43540 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2005-06-17 Marco Pesenti Gritti + * data/evince-properties.glade: + * shell/ev-properties.c: (ev_properties_set_document): + + s/PDF Version/Format + +2005-06-17 Marco Pesenti Gritti + * shell/ev-properties.c: (ev_properties_set_document): Remove unnecessary translations diff --git a/data/evince-properties.glade b/data/evince-properties.glade index f519296..80423fa 100644 --- a/data/evince-properties.glade +++ b/data/evince-properties.glade @@ -16,6 +16,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_CENTER + True False @@ -84,6 +85,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -108,6 +113,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -132,6 +141,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -156,6 +169,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -180,6 +197,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -204,6 +225,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -228,6 +253,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -252,6 +281,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -276,6 +309,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -290,7 +327,7 @@ True - <b>PDF Version:</b> + <b>Format:</b> False True GTK_JUSTIFY_LEFT @@ -300,6 +337,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -324,6 +365,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -348,6 +393,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -373,6 +422,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -398,6 +451,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -423,6 +480,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -448,6 +509,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -473,6 +538,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -498,6 +567,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -523,6 +596,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -547,6 +624,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -571,6 +652,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -595,6 +680,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -619,6 +708,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -643,6 +736,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 1 @@ -672,6 +769,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab @@ -702,6 +803,9 @@ False False True + False + False + False @@ -725,6 +829,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -752,6 +860,10 @@ 0.5 0 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 tab 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