This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment-module-diskio.

View the commit online.

commit f3a8775c7941ebdfd80f0a374af0ba262d731dcc
Author: Mike Pento <[email protected]>
AuthorDate: Sat Feb 21 18:18:39 2026 -0500

    diskio: Fix bad type param, bad api call and edc file issue
    
    1. Bad type passed in e_int_config_diskio_module "mn->zone->comp" --> "e_comp"
    2. e_util_zone_current_get(e_manager_current_get()) --> e_zone_current_get()
    3. Added default sections for read/write parts in edc.
    @fix
---
 e-module-diskio.edc | 14 ++++++++++++++
 src/e_mod_main.c    |  4 ++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/e-module-diskio.edc b/e-module-diskio.edc
index 8bf46bc..0c6a3a1 100644
--- a/e-module-diskio.edc
+++ b/e-module-diskio.edc
@@ -53,6 +53,13 @@ collections
 	       {
 		  name: "read";
 		  type: IMAGE;
+		  description 
+		    {
+		       state: "default" 0.0;
+		       aspect: 1.0 1.0;
+		       aspect_preference: BOTH;
+		       image.normal: "module_icon_r.png";
+		    }
 		  description 
 		    {
 		       state: "off" 0.0;
@@ -73,6 +80,13 @@ collections
 	       {
 		  name: "write";
 		  type: IMAGE;
+		  description 
+		    {
+		       state: "default" 0.0;
+		       aspect: 1.0 1.0;
+		       aspect_preference: BOTH;
+		       image.normal: "module_icon_w.png";
+		    }
 		  description 
 		    {
 		       state: "off" 0.0;
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index 0691666..27c2c7f 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -461,7 +461,7 @@ _diskio_cb_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event)
         E_Menu *m;
 
         /* grab current zone */
-        zone = e_util_zone_current_get(e_manager_current_get());
+        zone = e_zone_current_get();
 
         /* create popup menu */
         m = e_menu_new();
@@ -509,5 +509,5 @@ _diskio_cb_menu_configure(void *data, E_Menu *mn, E_Menu_Item *mi)
    if (!inst) return;
    if (!diskio_conf) return;
    if (diskio_conf->cfd) return;
-   e_int_config_diskio_module(mn->zone->comp, inst->conf_item);
+   e_int_config_diskio_module(e_comp, inst->conf_item);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to