diff --git a/configure.ac b/configure.ac index 508b5a9..8d61d64 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,7 @@ AM_CONDITIONAL([HAVE_PO], [false]) ]) AC_SUBST(LTLIBINTL) -PKG_CHECK_MODULES(E, [enlightenment]) +PKG_CHECK_MODULES(E, [enlightenment >= 0.17.99]) release=$(pkg-config --variable=release enlightenment) MODULE_ARCH="$host_os-$host_cpu-$release" AC_SUBST(MODULE_ARCH) @@ -43,7 +43,7 @@ AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture") AC_DEFINE_UNQUOTED(MODULE_VERSION, "0.1.0", "Module version") # Find edje_cc -PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0]) +PKG_CHECK_MODULES(EDJE, [edje >= 1.0]) AC_ARG_WITH(edje-cc, AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]), [ diff --git a/e_modules-news.spec.in b/e_modules-news.spec.in index 8a23efc..36832f4 100644 --- a/e_modules-news.spec.in +++ b/e_modules-news.spec.in @@ -13,8 +13,8 @@ Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings = 0.16.999 -Requires: enlightenment >= 0.16.999 +BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.17.99 +Requires: enlightenment >= 0.17.99 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description diff --git a/src/news_popup.c b/src/news_popup.c index d9bc2e6..ea525d1 100644 --- a/src/news_popup.c +++ b/src/news_popup.c @@ -59,7 +59,7 @@ news_popup_add(int type, const char *title, const char *text, int timer, int (*f return 0; } evas_event_freeze(popw->pop->evas); - e_popup_layer_set(popw->pop, 255); + e_popup_layer_set(popw->pop, E_COMP_CANVAS_LAYER_POPUP, 0); /* face and tb */ @@ -115,7 +115,7 @@ news_popup_add(int type, const char *title, const char *text, int timer, int (*f /* go ! */ evas_object_show(popw->face); - e_popup_edje_bg_object_set(popw->pop, popw->face); + e_popup_content_set(popw->pop, popw->face); evas_event_thaw(popw->pop->evas); e_popup_show(popw->pop);