summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-03-30 10:23:25 +0200
committerBoris Faure <billiob@gmail.com>2014-03-30 10:23:25 +0200
commit73e4ac02090b3842b1e331ce9d19d7c480cbb56e (patch)
tree1c694a9f539098753580863535da79d00324da5b
parent1b5801a56ef24e6de27429bc5b9ebe62d965c142 (diff)
fix mpdule with e19. Patch by Luca Galli
-rw-r--r--src/e_mod_config.c5
-rw-r--r--src/e_mod_main.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/e_mod_config.c b/src/e_mod_config.c
index 0a178f7..dfd916b 100644
--- a/src/e_mod_config.c
+++ b/src/e_mod_config.c
@@ -22,7 +22,7 @@ _config_mpdule_module (Config_Item * ci)
22{ 22{
23 E_Config_Dialog *cfd; 23 E_Config_Dialog *cfd;
24 E_Config_Dialog_View *v; 24 E_Config_Dialog_View *v;
25 E_Container *con; 25 E_Comp *con;
26 char buf[4096]; 26 char buf[4096];
27 27
28 v = E_NEW (E_Config_Dialog_View, 1); 28 v = E_NEW (E_Config_Dialog_View, 1);
@@ -34,9 +34,8 @@ _config_mpdule_module (Config_Item * ci)
34 34
35 snprintf (buf, sizeof (buf), "%s/e-module-mpdule.edj", 35 snprintf (buf, sizeof (buf), "%s/e-module-mpdule.edj",
36 e_module_dir_get (mpdule_config->module)); 36 e_module_dir_get (mpdule_config->module));
37 con = e_container_current_get (e_manager_current_get ());
38 cfd = 37 cfd =
39 e_config_dialog_new (con, D_ ("MPDule Configuration"), "MPDule", 38 e_config_dialog_new (NULL, D_ ("MPDule Configuration"), "MPDule",
40 "_e_modules_mpdule_config_dialog", buf, 0, v, ci); 39 "_e_modules_mpdule_config_dialog", buf, 0, v, ci);
41 mpdule_config->config_dialog = cfd; 40 mpdule_config->config_dialog = cfd;
42} 41}
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index e8928ea..c3c9a98 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -700,8 +700,8 @@ _mpdule_popup_create(Instance *inst)
700 return; 700 return;
701 inst->popup_creation_in_progress = EINA_TRUE; 701 inst->popup_creation_in_progress = EINA_TRUE;
702 702
703 inst->popup = e_gadcon_popup_new(inst->gcc); 703 inst->popup = e_gadcon_popup_new(inst->gcc, EINA_FALSE);
704 evas = inst->popup->win->evas; 704 evas = e_comp_get(inst->popup)->evas;
705 o_popup = edje_object_add(evas); 705 o_popup = edje_object_add(evas);
706 if (!e_theme_edje_object_set 706 if (!e_theme_edje_object_set
707 (o_popup, "base/theme/modules/mpdule", "modules/mpdule/popup")) 707 (o_popup, "base/theme/modules/mpdule", "modules/mpdule/popup"))