aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-08 23:33:26 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-08 23:33:26 +0800
commit10256b2ff6a49d5283ca281ea0068e1acbe7686e (patch)
treed6738bead4c91e36a16a2a0e325749d216711cfe /src/ephy-notebook.c
parentd368e97a37dbd9ed2163f0a446fa3723ed57c732 (diff)
downloadgsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar.gz
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar.bz2
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar.lz
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar.xz
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.tar.zst
gsoc2013-epiphany-10256b2ff6a49d5283ca281ea0068e1acbe7686e.zip
R lib/widgets/ephy-ellipsizing-label.c: R
2004-08-08 Christian Persch <chpe@cvs.gnome.org> * 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.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 4eef9fcaa..475c2f9ae 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -35,7 +35,7 @@
#include "ephy-shell.h"
#include "ephy-debug.h"
#include "ephy-favicon-cache.h"
-#include "ephy-ellipsizing-label.h"
+#include "ephy-label.h"
#include "ephy-spinner.h"
#include "ephy-string.h"
@@ -793,7 +793,7 @@ sync_label (EphyTab *tab, GParamSpec *pspec, GtkWidget *proxy)
if (title)
{
- ephy_ellipsizing_label_set_text (EPHY_ELLIPSIZING_LABEL (label), title);
+ ephy_label_set_text (EPHY_LABEL (label), title);
gtk_tooltips_set_tip (tips, ebox, title, NULL);
}
}
@@ -885,9 +885,8 @@ build_tab_label (EphyNotebook *nb, EphyTab *tab)
gtk_box_pack_start (GTK_BOX (label_hbox), icon, FALSE, FALSE, 0);
/* setup label */
- label = ephy_ellipsizing_label_new ("");
- ephy_ellipsizing_label_set_mode (EPHY_ELLIPSIZING_LABEL (label),
- EPHY_ELLIPSIZE_START);
+ label = ephy_label_new ("");
+ ephy_label_set_ellipsize (EPHY_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (label), 0, 0);
gtk_box_pack_start (GTK_BOX (label_hbox), label, TRUE, TRUE, 0);