Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/ibox Modified Files: e_mod_main.c Log Message: ibox works. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibox/e_mod_main.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_mod_main.c 14 May 2005 14:08:16 -0000 1.5 +++ e_mod_main.c 16 May 2005 08:18:27 -0000 1.6 @@ -153,6 +153,7 @@ int e_modapi_about(E_Module *m) { + /* FIXME: Wrong text */ e_error_dialog_show(_("Enlightenment IBox Module"), _("This is the IBox Application Launcher box module for Enlightenment.\n" "It is a first example module and is being used to flesh out several\n" @@ -336,7 +337,7 @@ ibb->ev_handler_border_iconify = ecore_event_handler_add(E_EVENT_BORDER_ICONIFY, _ibox_box_cb_event_border_iconify, ibb); ibb->ev_handler_border_uniconify = - ecore_event_handler_add(E_EVENT_BORDER_ICONIFY, _ibox_box_cb_event_border_uniconify, ibb); + ecore_event_handler_add(E_EVENT_BORDER_UNICONIFY, _ibox_box_cb_event_border_uniconify, ibb); bl = e_container_border_list_first(ibb->con); while ((bd = e_container_border_list_next(bl))) @@ -367,15 +368,15 @@ e_gadman_client_domain_set(ibb->gmc, "module.ibox", box_count++); policy = E_GADMAN_POLICY_EDGES | E_GADMAN_POLICY_HMOVE | E_GADMAN_POLICY_VMOVE; if (ibb->ibox->conf->width == IBOX_WIDTH_FIXED) - policy |= E_GADMAN_POLICY_HSIZE; + policy |= E_GADMAN_POLICY_VSIZE; e_gadman_client_policy_set(ibb->gmc, policy); e_gadman_client_min_size_set(ibb->gmc, 8, 8); e_gadman_client_max_size_set(ibb->gmc, 3200, 3200); e_gadman_client_auto_size_set(ibb->gmc, -1, -1); - e_gadman_client_align_set(ibb->gmc, 0.5, 1.0); + e_gadman_client_align_set(ibb->gmc, 0.0, 0.5); e_gadman_client_resize(ibb->gmc, 400, 32 + ibb->inset.t + ibb->inset.b); e_gadman_client_change_func_set(ibb->gmc, _ibox_box_cb_gmc_change, ibb); - e_gadman_client_edge_set(ibb->gmc, E_GADMAN_EDGE_BOTTOM); + e_gadman_client_edge_set(ibb->gmc, E_GADMAN_EDGE_LEFT); e_gadman_client_load(ibb->gmc); evas_event_thaw(ibb->evas); @@ -1127,6 +1128,7 @@ if (!_ibox_icon_find(ibb, ev->border)) ic = _ibox_icon_new(ibb, ev->border); + _ibox_box_frame_resize(ibb); return 1; } @@ -1143,6 +1145,7 @@ ic = _ibox_icon_find(ibb, ev->border); _ibox_icon_free(ic); + _ibox_box_frame_resize(ibb); return 1; } ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs