diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-24 00:50:00 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-24 00:50:00 +0800 |
commit | 44fc8c4bb8f58873d41b0136400f34d63f31b080 (patch) | |
tree | 91057d20786eb77bd21bde772d239551972f5a85 /src | |
parent | 361ed3d1c475f7b1ab2226abf7605405411ab185 (diff) | |
download | gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar.gz gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar.bz2 gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar.lz gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar.xz gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.tar.zst gsoc2013-epiphany-44fc8c4bb8f58873d41b0136400f34d63f31b080.zip |
Ellipsize the value and path labels in the cookie content dialogue.
2005-01-23 Christian Persch <chpe@cvs.gnome.org>
* src/pdm-dialog.c: (show_cookies_properties):
Ellipsize the value and path labels in the cookie content dialogue.
Diffstat (limited to 'src')
-rwxr-xr-x | src/pdm-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |