aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/win.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-03-03 13:30:14 +0100
committerBoris Faure <billiob@gmail.com>2016-03-03 13:30:14 +0100
commitf05a9187b079a6977a2ba592030c3ed02bc32dc3 (patch)
treebea1d11618997f3d7093ced95c246cedabee9552 /src/bin/win.c
parentRevert "wip" (diff)
downloadterminology-f05a9187b079a6977a2ba592030c3ed02bc32dc3.tar.gz
Revert "wip"
Diffstat (limited to 'src/bin/win.c')
-rw-r--r--src/bin/win.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index e555d51..d31af83 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1659,9 +1659,6 @@ _tabbar_clear(Term *tm)
edje_object_message_signal_process(tm->bg);
edje_object_part_unswallow(tm->bg, tm->tab_spacer);
evas_object_del(tm->tab_spacer);
- Evas_Object *o;
- o = edje_object_part_swallow_get(term->bg, "terminology.tab.title");
- evas_object_del(o);
tm->tab_spacer = NULL;
}
}
@@ -2555,9 +2552,8 @@ _tabs_set_title(Term_Container *tc, Term_Container *child,
if (!term->config->notabs)
{
- Evas_Object *o;
- o = edje_object_part_swallow_get(term->bg, "terminology.tab.title");
- evas_object_text_text_set(o, title);
+ edje_object_part_text_set(term->bg, "terminology.tab.title",
+ title);
}
}
else
@@ -2632,7 +2628,6 @@ _tabs_refresh(Tabs *tabs)
v2 = (double)i / (double)n;
if (!term->tab_spacer)
{
- Evas_Object *o;
term->tab_spacer = evas_object_rectangle_add(
evas_object_evas_get(term->bg));
evas_object_color_set(term->tab_spacer, 0, 0, 0, 0);
@@ -2641,7 +2636,6 @@ _tabs_refresh(Tabs *tabs)
edje_object_part_swallow(term->bg, "terminology.tab", term->tab_spacer);
edje_object_part_drag_value_set(term->bg, "terminology.tabl", v1, 0.0);
edje_object_part_drag_value_set(term->bg, "terminology.tabr", v2, 0.0);
- /* TODO: boris */
edje_object_part_text_set(term->bg, "terminology.tab.title",
solo->tc.title);
edje_object_signal_emit(term->bg, "tabbar,on", "terminology");