tabs: show tabs that have a bell
This commit is contained in:
parent
9b3e416890
commit
a32b9cee88
|
@ -1,7 +1,12 @@
|
||||||
=================
|
=================
|
||||||
Terminology 1.5.0
|
Terminology 1.6.0
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
Changes since 1.5.0:
|
||||||
|
--------------------
|
||||||
|
* In group "terminology/tabbar_back", add signal "bell" from "terminology"
|
||||||
|
to mark a tab as having the bell on.
|
||||||
|
|
||||||
Changes since 1.2.0:
|
Changes since 1.2.0:
|
||||||
--------------------
|
--------------------
|
||||||
* Color class "BG" has to be set with the color of the background.
|
* Color class "BG" has to be set with the color of the background.
|
||||||
|
|
|
@ -2116,7 +2116,7 @@ collections {
|
||||||
}
|
}
|
||||||
part { name: "terminology.title"; type: TEXT; mouse_events: 0;
|
part { name: "terminology.title"; type: TEXT; mouse_events: 0;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
effect: GLOW;
|
effect: OUTLINE_SOFT_SHADOW;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
text { font: "Sans:style=Bold"; size: 10;
|
text { font: "Sans:style=Bold"; size: 10;
|
||||||
align: 0.5 0.5;
|
align: 0.5 0.5;
|
||||||
|
@ -2128,6 +2128,12 @@ collections {
|
||||||
rel1.to: "tab_bevel_top2";
|
rel1.to: "tab_bevel_top2";
|
||||||
rel2.to: "tab_bevel_top2";
|
rel2.to: "tab_bevel_top2";
|
||||||
}
|
}
|
||||||
|
description { state: "bell" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 255 219 0 96;
|
||||||
|
color2: 255 51 0 48;
|
||||||
|
color3: 255 51 0 8;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
part { name: "clip"; type: RECT;
|
part { name: "clip"; type: RECT;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -2143,6 +2149,11 @@ collections {
|
||||||
signal: "mouse,clicked,1"; source: "event";
|
signal: "mouse,clicked,1"; source: "event";
|
||||||
action: SIGNAL_EMIT "tab,activate" "terminology";
|
action: SIGNAL_EMIT "tab,activate" "terminology";
|
||||||
}
|
}
|
||||||
|
program { name: "bell";
|
||||||
|
signal: "bell"; source: "terminology";
|
||||||
|
action: STATE_SET "bell" 0.0;
|
||||||
|
target: "terminology.title";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2567,7 +2567,6 @@ _split_split(Term_Container *tc, Term_Container *child,
|
||||||
Term_Container *tc_split, *tc_solo_new;
|
Term_Container *tc_split, *tc_solo_new;
|
||||||
Evas_Object *obj_split;
|
Evas_Object *obj_split;
|
||||||
|
|
||||||
DBG(" ");
|
|
||||||
assert (tc->type == TERM_CONTAINER_TYPE_SPLIT);
|
assert (tc->type == TERM_CONTAINER_TYPE_SPLIT);
|
||||||
split = (Split *)tc;
|
split = (Split *)tc;
|
||||||
wn = tc->wn;
|
wn = tc->wn;
|
||||||
|
@ -2921,6 +2920,8 @@ _tabbar_fill(Tabs *tabs)
|
||||||
term->tabbar.r.tabs = eina_list_append(term->tabbar.r.tabs, o);
|
term->tabbar.r.tabs = eina_list_append(term->tabbar.r.tabs, o);
|
||||||
elm_box_pack_end(term->tabbar.r.box, o);
|
elm_box_pack_end(term->tabbar.r.box, o);
|
||||||
}
|
}
|
||||||
|
if (solo->term->missed_bell)
|
||||||
|
edje_object_signal_emit(o, "bell", "terminology");
|
||||||
evas_object_data_set(o, "term", term);
|
evas_object_data_set(o, "term", term);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
edje_object_signal_callback_add(o, "tab,activate", "terminology",
|
edje_object_signal_callback_add(o, "tab,activate", "terminology",
|
||||||
|
|
Loading…
Reference in New Issue