fix mpdule with e19. Patch by Luca Galli
This commit is contained in:
parent
1b5801a56e
commit
73e4ac0209
|
@ -22,7 +22,7 @@ _config_mpdule_module (Config_Item * ci)
|
||||||
{
|
{
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
E_Config_Dialog_View *v;
|
E_Config_Dialog_View *v;
|
||||||
E_Container *con;
|
E_Comp *con;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
|
||||||
v = E_NEW (E_Config_Dialog_View, 1);
|
v = E_NEW (E_Config_Dialog_View, 1);
|
||||||
|
@ -34,9 +34,8 @@ _config_mpdule_module (Config_Item * ci)
|
||||||
|
|
||||||
snprintf (buf, sizeof (buf), "%s/e-module-mpdule.edj",
|
snprintf (buf, sizeof (buf), "%s/e-module-mpdule.edj",
|
||||||
e_module_dir_get (mpdule_config->module));
|
e_module_dir_get (mpdule_config->module));
|
||||||
con = e_container_current_get (e_manager_current_get ());
|
|
||||||
cfd =
|
cfd =
|
||||||
e_config_dialog_new (con, D_ ("MPDule Configuration"), "MPDule",
|
e_config_dialog_new (NULL, D_ ("MPDule Configuration"), "MPDule",
|
||||||
"_e_modules_mpdule_config_dialog", buf, 0, v, ci);
|
"_e_modules_mpdule_config_dialog", buf, 0, v, ci);
|
||||||
mpdule_config->config_dialog = cfd;
|
mpdule_config->config_dialog = cfd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -700,8 +700,8 @@ _mpdule_popup_create(Instance *inst)
|
||||||
return;
|
return;
|
||||||
inst->popup_creation_in_progress = EINA_TRUE;
|
inst->popup_creation_in_progress = EINA_TRUE;
|
||||||
|
|
||||||
inst->popup = e_gadcon_popup_new(inst->gcc);
|
inst->popup = e_gadcon_popup_new(inst->gcc, EINA_FALSE);
|
||||||
evas = inst->popup->win->evas;
|
evas = e_comp_get(inst->popup)->evas;
|
||||||
o_popup = edje_object_add(evas);
|
o_popup = edje_object_add(evas);
|
||||||
if (!e_theme_edje_object_set
|
if (!e_theme_edje_object_set
|
||||||
(o_popup, "base/theme/modules/mpdule", "modules/mpdule/popup"))
|
(o_popup, "base/theme/modules/mpdule", "modules/mpdule/popup"))
|
||||||
|
|
Loading…
Reference in New Issue