Browse Source

Adapt to changes made in E18

master
Igor Murzov 9 years ago
parent
commit
d54bbd9147
  1. 4
      configure.ac
  2. 4
      e_modules-news.spec.in
  3. 4
      src/news_popup.c

4
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]),
[

4
e_modules-news.spec.in

@ -13,8 +13,8 @@ Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.or
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
BuildRequires: ecore-devel, evas-devel, edje-bin
BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 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

4
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);

Loading…
Cancel
Save