This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch v-0.25.0
in repository enlightenment.
View the commit online.
commit f4a1dac61bd5b65f616e6693df54a3e81d2a068c
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sun Feb 20 11:52:16 2022 +0000
notification - get rid of useless appendix code...
themes have supported notification for as logn as e17 was released
so remove useless "appendix" of code that handles if it isnt.
---
src/modules/notification/e_mod_popup.c | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c
index 1a1a5cf5f..cc7e821bc 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -271,7 +271,6 @@ static Popup_Data *
_notification_popup_new(E_Notification_Notify *n, unsigned id)
{
Popup_Data *popup;
- char buf[PATH_MAX];
Eina_List *l;
int pos = next_pos;
E_Zone *zone = NULL;
@@ -305,10 +304,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
popup->e = e_comp->evas;
/* Setup the theme */
- snprintf(buf, sizeof(buf), "%s/e-module-notification.edj",
- notification_mod->dir);
popup->theme = edje_object_add(popup->e);
-
e_theme_edje_object_set(popup->theme,
"base/theme/modules/notification",
"e/modules/notification/main");
@@ -489,19 +485,10 @@ _notification_popup_refresh(Popup_Data *popup)
if (!popup->app_icon)
{
- char buf[PATH_MAX];
-
- snprintf(buf, sizeof(buf), "%s/e-module-notification.edj",
- notification_mod->dir);
popup->app_icon = edje_object_add(popup->e);
- if (!e_theme_edje_object_set(popup->app_icon,
- "base/theme/modules/notification",
- "e/modules/notification/logo"))
- if (!e_theme_edje_object_set(popup->app_icon,
- "base/theme/modules/notification",
- "modules/notification/logo"))
- edje_object_file_set(popup->app_icon, buf,
- "modules/notification/logo");
+ e_theme_edje_object_set(popup->app_icon,
+ "base/theme/modules/notification",
+ "e/modules/notification/logo");
w = width;
h = height;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.