Enlightenment CVS committal Author : urandom Project : e_modules Module : deskshow
Dir : e_modules/deskshow Modified Files: e_mod_main.c Log Message: fix passive/active so the signals actually do something useful =================================================================== RCS file: /cvs/e/e_modules/deskshow/e_mod_main.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_mod_main.c 17 Jul 2006 23:57:20 -0000 1.6 +++ e_mod_main.c 20 Jul 2006 22:22:48 -0000 1.7 @@ -119,7 +119,10 @@ zone = e_util_zone_current_get (e_manager_current_get ()); if (zone) { - edje_object_signal_emit (inst->o_button, "active", ""); + if (zone->deskshow_toggle) + edje_object_signal_emit(inst->o_button, "passive", ""); + else + edje_object_signal_emit(inst->o_button, "active", ""); bl = e_container_border_list_first (zone->container); while ((bd = e_container_border_list_next (bl))) @@ -148,7 +151,6 @@ zone->deskshow_toggle = zone->deskshow_toggle ? 0 : 1; e_container_border_list_free (bl); } - edje_object_signal_emit (inst->o_button, "passive", ""); // evas_event_feed_mouse_up(inst->gcc->gadcon->evas, ev->button, // EVAS_BUTTON_NONE, ev->timestamp, NULL); ------------------------------------------------------------------------- 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