From 44fc8c4bb8f58873d41b0136400f34d63f31b080 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 23 Jan 2005 16:50:00 +0000 Subject: Ellipsize the value and path labels in the cookie content dialogue. 2005-01-23 Christian Persch * src/pdm-dialog.c: (show_cookies_properties): Ellipsize the value and path labels in the cookie content dialogue. --- ChangeLog | 6 ++++++ src/pdm-dialog.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 14d2b27a3..5fb9ae3d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-23 Christian Persch + + * src/pdm-dialog.c: (show_cookies_properties): + + Ellipsize the value and path labels in the cookie content dialogue. + 2005-01-23 Christian Persch * configure.ac: diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index e163a3505..a0bf41712 100755 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -926,6 +926,7 @@ show_cookies_properties (PdmDialog *dialog, label = gtk_label_new (info->value); gtk_label_set_selectable (GTK_LABEL (label), TRUE); + gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END); gtk_misc_set_alignment (GTK_MISC (label), 0, 0); gtk_widget_show (label); gtk_table_attach_defaults (GTK_TABLE (table), label, 1, 2, 0, 1); @@ -941,6 +942,7 @@ show_cookies_properties (PdmDialog *dialog, label = gtk_label_new (info->path); gtk_label_set_selectable (GTK_LABEL (label), TRUE); + gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END); gtk_misc_set_alignment (GTK_MISC (label), 0, 0); gtk_widget_show (label); gtk_table_attach_defaults (GTK_TABLE (table), label, 1, 2, 1, 2); -- cgit v1.2.3