aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
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);