[gimp] Bug 614153 - Importing PDF files with long titles
- From: Sven Neumann <neo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 614153 - Importing PDF files with long titles
- Date: Sun, 28 Mar 2010 10:34:53 +0000 (UTC)
commit b55591ca04cf5ae3376fb204cb7b397f7deb7fd9
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.
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 30b5f2d..2bd8fe8 100644
--- a/plug-ins/common/file-pdf.c
+++ b/plug-ins/common/file-pdf.c
@@ -838,6 +838,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]