[gimp/gimp-2-6] Bug 614153 - Importing PDF files with long titles



commit 21812c57ce2299ba561870113f4bcb8785e4b817
Author: Sven Neumann <sven gimp org>
Date:   Sun Mar 28 12:34:38 2010 +0200

    Bug 614153 - Importing PDF files with long titles
    
    Ellipsize the title label.
    (cherry picked from commit b55591ca04cf5ae3376fb204cb7b397f7deb7fd9)

 plug-ins/common/file-pdf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/file-pdf.c b/plug-ins/common/file-pdf.c
index 6b733c9..a43b459 100644
--- a/plug-ins/common/file-pdf.c
+++ b/plug-ins/common/file-pdf.c
@@ -828,6 +828,7 @@ load_dialog (PopplerDocument  *doc,
 
   /* Title */
   title = gimp_prop_label_new (G_OBJECT (doc), "title");
+  gtk_label_set_ellipsize (GTK_LABEL (title), PANGO_ELLIPSIZE_END);
   gtk_box_pack_start (GTK_BOX (vbox), title, FALSE, FALSE, 0);
   gtk_widget_show (title);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]