Browse Source

fix mpdule with e19. Patch by Luca Galli

master
Boris Faure 8 years ago
parent
commit
73e4ac0209
  1. 5
      src/e_mod_config.c
  2. 4
      src/e_mod_main.c

5
src/e_mod_config.c

@ -22,7 +22,7 @@ _config_mpdule_module (Config_Item * ci)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
E_Comp *con;
char buf[4096];
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",
e_module_dir_get (mpdule_config->module));
con = e_container_current_get (e_manager_current_get ());
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);
mpdule_config->config_dialog = cfd;
}

4
src/e_mod_main.c

@ -700,8 +700,8 @@ _mpdule_popup_create(Instance *inst)
return;
inst->popup_creation_in_progress = EINA_TRUE;
inst->popup = e_gadcon_popup_new(inst->gcc);
evas = inst->popup->win->evas;
inst->popup = e_gadcon_popup_new(inst->gcc, EINA_FALSE);
evas = e_comp_get(inst->popup)->evas;
o_popup = edje_object_add(evas);
if (!e_theme_edje_object_set
(o_popup, "base/theme/modules/mpdule", "modules/mpdule/popup"))

Loading…
Cancel
Save