Enlightenment CVS committal Author : rephorm Project : e17 Module : apps/elicit
Dir : e17/apps/elicit/src Modified Files: zoom.c Log Message: send signals when the grid state changes =================================================================== RCS file: /cvs/e/e17/apps/elicit/src/zoom.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- zoom.c 17 Mar 2007 11:04:06 -0000 1.5 +++ zoom.c 22 Mar 2007 00:10:42 -0000 1.6 @@ -57,14 +57,23 @@ elicit_zoom_grid_visible_set(Evas_Object *o, int visible) { Elicit_Zoom *z; + Evas_Object *gui; z = evas_object_smart_data_get(o); + gui = evas_object_name_find(evas_object_evas_get(o), "gui"); elicit_config_grid_visible_set(visible); if (!z->has_data) return; if (visible) + { evas_object_show(z->grid); + edje_object_signal_emit(gui, "grid,on", "Elicit"); + } else + { evas_object_hide(z->grid); + edje_object_signal_emit(gui, "grid,off", "Elicit"); + } + } void ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs