Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_gadcon_popup.c Log Message: Set popup layer == layer of the exebuf. Fix some formatting issues. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon_popup.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_gadcon_popup.c 16 Nov 2007 22:27:35 -0000 1.6 +++ e_gadcon_popup.c 13 Dec 2007 19:27:02 -0000 1.7 @@ -19,7 +19,7 @@ if (!pop) return NULL; zone = e_util_zone_current_get(e_manager_current_get()); pop->win = e_popup_new(zone, 0, 0, 0, 0); - e_popup_layer_set(pop->win, 990); + e_popup_layer_set(pop->win, 255); o = edje_object_add(pop->win->evas); e_theme_edje_object_set(o, "base/theme/gadman", "e/gadman/popup"); @@ -51,7 +51,7 @@ evas_object_del(old_o); } e_widget_min_size_get(o, &w, &h); - if (!w || !h) edje_object_size_min_calc(o, &w, &h); + if ((!w) || (!h)) edje_object_size_min_calc(o, &w, &h); edje_extern_object_min_size_set(o, w, h); edje_object_part_swallow(pop->o_bg, "e.swallow.content", o); edje_object_size_min_calc(pop->o_bg, &pop->w, &pop->h); @@ -75,7 +75,7 @@ Evas_Coord w = 0, h = 0; e_widget_min_size_get(o, &w, &h); - if (!w || !h) edje_object_size_min_calc(o, &w, &h); + if ((!w) || (!h)) edje_object_size_min_calc(o, &w, &h); edje_extern_object_min_size_set(o, w, h); } ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs