Enlightenment CVS committal
Author : rephorm
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/ibar
Modified Files:
e_mod_main.c
Log Message:
****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL
themes other than the default one are now broken. Sorry, but this had to happen.
I have a list of mappings from old to new at
http://rephorm.com/files/dump/e_theme_map.txt
There will probably be a little more cleanup on this in the coming days. Then
I'll write it all up in a nice theme spec.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -3 -r1.134 -r1.135
--- e_mod_main.c 18 Aug 2006 23:45:06 -0000 1.134
+++ e_mod_main.c 22 Aug 2006 07:39:11 -0000 1.135
@@ -506,16 +506,16 @@
switch (ci->eap_label)
{
case 0:
- edje_object_part_text_set(ic->o_holder, "label",
ic->app->name);
- edje_object_part_text_set(ic->o_holder2, "label",
ic->app->name);
+ edje_object_part_text_set(ic->o_holder, "e.text.label",
ic->app->name);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->name);
break;
case 1:
- edje_object_part_text_set(ic->o_holder, "label",
ic->app->comment);
- edje_object_part_text_set(ic->o_holder2, "label",
ic->app->comment);
+ edje_object_part_text_set(ic->o_holder, "e.text.label",
ic->app->comment);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->comment);
break;
case 2:
- edje_object_part_text_set(ic->o_holder, "label",
ic->app->generic);
- edje_object_part_text_set(ic->o_holder2, "label",
ic->app->generic);
+ edje_object_part_text_set(ic->o_holder, "e.text.label",
ic->app->generic);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->generic);
break;
}
}
@@ -619,16 +619,16 @@
switch (ic->ibar->eap_label)
{
case 0: /* Eap Name */
- edje_object_part_text_set(ic->o_holder, "label", ic->app->name);
- edje_object_part_text_set(ic->o_holder2, "label", ic->app->name);
+ edje_object_part_text_set(ic->o_holder, "e.text.label", ic->app->name);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->name);
break;
case 1: /* Eap Comment */
- edje_object_part_text_set(ic->o_holder, "label", ic->app->comment);
- edje_object_part_text_set(ic->o_holder2, "label", ic->app->comment);
+ edje_object_part_text_set(ic->o_holder, "e.text.label",
ic->app->comment);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->comment);
break;
case 2: /* Eap Generic */
- edje_object_part_text_set(ic->o_holder, "label", ic->app->generic);
- edje_object_part_text_set(ic->o_holder2, "label", ic->app->generic);
+ edje_object_part_text_set(ic->o_holder, "e.text.label",
ic->app->generic);
+ edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->generic);
break;
}
}
@@ -754,9 +754,9 @@
if (ic)
{
if (a->startup_notify)
- _ibar_icon_signal_emit(ic, "start", "");
+ _ibar_icon_signal_emit(ic, "e,action,start", "e");
else
- _ibar_icon_signal_emit(ic, "exec", "");
+ _ibar_icon_signal_emit(ic, "e,action,exec", "e");
}
}
break;
@@ -768,7 +768,7 @@
IBar_Icon *ic;
ic = _ibar_icon_find(b, a);
- if (ic) _ibar_icon_signal_emit(ic, "stop", "");
+ if (ic) _ibar_icon_signal_emit(ic, "e,action,stop", "e");
}
break;
default:
@@ -850,9 +850,9 @@
ev = event_info;
ic = data;
- _ibar_icon_signal_emit(ic, "active", "");
+ _ibar_icon_signal_emit(ic, "e,state,focused", "e");
if (ic->ibar->show_label)
- _ibar_icon_signal_emit(ic, "label_active", "");
+ _ibar_icon_signal_emit(ic, "e,action,show,label", "e");
}
static void
@@ -863,9 +863,9 @@
ev = event_info;
ic = data;
- _ibar_icon_signal_emit(ic, "passive", "");
+ _ibar_icon_signal_emit(ic, "e,state,unfocused", "e");
if (ic->ibar->show_label)
- _ibar_icon_signal_emit(ic, "label_passive", "");
+ _ibar_icon_signal_emit(ic, "e,action,hide,label", "e");
}
static void
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs