Enlightenment CVS committal Author : iamsthitha Project : e_modules Module : taskbar
Dir : e_modules/taskbar Modified Files: e_mod_main.c Log Message: Fix label =================================================================== RCS file: /cvs/e/e_modules/taskbar/e_mod_main.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- e_mod_main.c 29 May 2007 15:34:52 -0000 1.27 +++ e_mod_main.c 16 Jun 2007 16:33:21 -0000 1.28 @@ -692,11 +692,7 @@ evas_object_pass_events_set(ic->o_icon2, 1); evas_object_show(ic->o_icon2); - ic->label = ic->border->client.netwm.name; - if (!ic->label) - ic->label = ic->border->client.icccm.title; - if (!ic->label) - ic->label = "?"; + ic->label = e_border_name_get(ic->border); edje_object_part_text_set(ic->o_holder, "label", ic->label); edje_object_part_text_set(ic->o_holder2, "label", ic->label); } @@ -1203,11 +1199,7 @@ inst = l->data; ic = _taskbar_icon_find(inst->taskbar, bd); if (ic) { - ic->label = bd->client.netwm.name; - if (!ic->label) - ic->label = bd->client.icccm.title; - if (!ic->label) - ic->label = "?"; + ic->label = e_border_name_get(bd); edje_object_part_text_set(ic->o_holder, "label", ic->label); edje_object_part_text_set(ic->o_holder2, "label", ic->label); _gc_orient(inst->gcc); ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs