billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=487c54b4e11804f70b84cde802c7a4a886b81093

commit 487c54b4e11804f70b84cde802c7a4a886b81093
Author: Boris Faure <bill...@gmail.com>
Date:   Tue Feb 9 21:03:04 2016 +0100

    wip
---
 data/themes/default.edc |  1 +
 src/bin/win.c           | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/data/themes/default.edc b/data/themes/default.edc
index 7b5cc26..fcd7302 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -1087,6 +1087,7 @@ collections {
          }
 
          part { name: "terminology.tab.title"; type: TEXT; mouse_events: 0;
+            /* TODO: boris */
             scale: 1;
             effect: SOFT_SHADOW BOTTOM;
             mouse_events: 0;
diff --git a/src/bin/win.c b/src/bin/win.c
index 3472efc..315dd4c 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1649,6 +1649,9 @@ _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;
      }
 }
@@ -2542,8 +2545,9 @@ _tabs_set_title(Term_Container *tc, Term_Container *child,
 
         if (!term->config->notabs)
           {
-             edje_object_part_text_set(term->bg, "terminology.tab.title",
-                                       title);
+             Evas_Object *o;
+             o = edje_object_part_swallow_get(term->bg, 
"terminology.tab.title");
+             evas_object_text_text_set(o, title);
           }
      }
    else
@@ -2618,6 +2622,7 @@ _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);
@@ -2626,6 +2631,7 @@ _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");

-- 


Reply via email to