Updated to build with e19. For older versions of E checkout the enlightenment-0.18 branch.
This commit is contained in:
parent
38f23531b2
commit
622dd495a1
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue