From 10256b2ff6a49d5283ca281ea0068e1acbe7686e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 8 Aug 2004 15:33:26 +0000 Subject: R lib/widgets/ephy-ellipsizing-label.c: R 2004-08-08 Christian Persch * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support. --- src/pdm-dialog.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/pdm-dialog.c') diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index 60ec410a3..c718681b9 100755 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -30,10 +30,11 @@ #include "ephy-file-helpers.h" #include "ephy-password-manager.h" #include "ephy-gui.h" -#include "ephy-ellipsizing-label.h" +#include "ephy-label.h" #include "ephy-debug.h" #include "ephy-state.h" +#include #include #include #include @@ -895,16 +896,16 @@ show_cookies_properties (PdmDialog *dialog, gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 0, 0); - label = ephy_ellipsizing_label_new (info->value); - gtk_label_set_selectable (GTK_LABEL (label), TRUE); + label = ephy_label_new (info->value); + ephy_label_set_selectable (EPHY_LABEL (label), TRUE); 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); str = g_strconcat ("", _("Path:"), "", NULL); - label = ephy_ellipsizing_label_new (str); + label = ephy_label_new (str); g_free (str); - gtk_label_set_use_markup (GTK_LABEL (label), TRUE); + ephy_label_set_use_markup (EPHY_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0, 0); gtk_widget_show (label); gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, -- cgit v1.2.3