ensure notification size cannot be too large

SVN revision: 72582
devs/princeamd/enlightenment-0.17-elive
Mike Blumenkrantz 11 years ago
parent 9baedbe54f
commit ad210971f7
  1. 2
      src/modules/notification/e_mod_popup.c

@ -516,6 +516,8 @@ _notification_popup_refresh(Popup_Data *popup)
/* Compute the new size of the popup */
edje_object_calc_force(popup->theme);
edje_object_size_min_calc(popup->theme, &w, &h);
w = MIN(w, popup->zone->w / 2);
h = MIN(h, popup->zone->h / 2);
e_popup_resize(popup->win, w, h);
evas_object_resize(popup->theme, w, h);

Loading…
Cancel
Save