From: Enlightenment C. <no...@cv...> - 2006-07-18 11:48:43
|
Enlightenment CVS committal Author : iamsthitha Project : e_modules Module : taskbar Dir : e_modules/taskbar Modified Files: e_mod_main.c Log Message: Look for icccm title if netwm isnt present =================================================================== RCS file: /cvs/e/e_modules/taskbar/e_mod_main.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- e_mod_main.c 18 Jul 2006 05:31:43 -0000 1.11 +++ e_mod_main.c 18 Jul 2006 16:48:42 -0000 1.12 @@ -613,6 +613,8 @@ label = ic->border->client.netwm.name; if (!label) + label = ic->border->client.icccm.title; + if (!label) label = "?"; edje_object_part_text_set(ic->o_holder, "label", label); edje_object_part_text_set(ic->o_holder2, "label", label); @@ -1109,6 +1111,8 @@ ic = _taskbar_icon_find(inst->taskbar, bd); if (ic) { ecore_x_netwm_name_get(ic->border->client.win, &label); + if (!label) + label = ecore_x_icccm_title_get(bd->client.win); if (!label) label = "?"; edje_object_part_text_set(ic->o_holder, "label", label); |