Hi list!

I've fixed the 'net' module, making it work in E19 :D

The changes are smalls, just 4 lines total. I don't have commit acces, so
here it is.

#######################################################


diff --git a/src/e_mod_configure.c b/src/e_mod_configure.c
index 059b62a..abbe361 100644
--- a/src/e_mod_configure.c
+++ b/src/e_mod_configure.c
@@ -25,7 +25,7 @@ _configure_net_module(void *data)
 {
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
-   E_Container *con;
+   E_Comp *comp;
    Config_Item *ci;
    char buf[PATH_MAX];

@@ -40,8 +40,7 @@ _configure_net_module(void *data)

    snprintf(buf, sizeof(buf), "%s/e-module-net.edj",
             e_module_dir_get(net_cfg->mod));
-   con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_("Net Module Settings"), "Net",
+   cfd = e_config_dialog_new(NULL, D_("Net Module Settings"), "Net",
      "_e_modules_netmod_config_dialog", buf, 0, v, ci);
    net_cfg->cfd = cfd;
 }
diff --git a/src/e_mod_net.c b/src/e_mod_net.c
index f50978a..318c996 100644
--- a/src/e_mod_net.c
+++ b/src/e_mod_net.c
@@ -185,10 +185,10 @@ _net_cb_mouse_in(void *data, Evas_Object *obj, const
char *emission, const char
    if (inst->popup) return;
    if (!inst->ci->show_popup) return;

-   inst->popup = e_gadcon_popup_new(inst->gcc);
+   inst->popup = e_gadcon_popup_new(inst->gcc, EINA_FALSE);
    snprintf(buf, sizeof(buf), "%s/net.edj",
e_module_dir_get(net_cfg->mod));

-   bg = edje_object_add(inst->popup->win->evas);
+   bg = edje_object_add(e_comp_get(inst->popup)->evas);
    if (!e_theme_edje_object_set(bg, "base/theme/modules",
  "modules/net/popup"))
      edje_object_file_set(bg, buf, "modules/net/popup");

########################################################


Sorry if this is not the proper way to submit a patch, it's my  first time
:$
-- 
Wido
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to