Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/randr Modified Files: e_mod_main.c Log Message: Set the confirmation window above and make it sticky and centered. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/randr/e_mod_main.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_mod_main.c 25 Aug 2005 16:21:58 -0000 1.9 +++ e_mod_main.c 30 Aug 2005 01:17:22 -0000 1.10 @@ -316,16 +316,11 @@ e_dialog_button_add(e->dialog, "OK", NULL, _randr_dialog_cb_ok, res); e_dialog_button_add(e->dialog, "Cancel", NULL, _randr_dialog_cb_cancel, res); e_win_borderless_set(e->dialog->win, 1); + e_win_layer_set(e->dialog->win, 6); + e_win_centered_set(e->dialog->win, 1); + e_win_sticky_set(e->dialog->win, 1); e_dialog_show(e->dialog); - /* This shouldn't be done here. We should add a resize callback to the e_win, - * and position us when we know the real width and height */ -#if 0 - e_win_move(e->dialog->win, - m->zone->x + (m->zone->w - e->dialog->win->min_w) / 2, - m->zone->y + (m->zone->h - e->dialog->win->min_h) / 2); -#endif - e->timer = ecore_timer_add(15.0, _randr_timer_cb, res); } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs