forked from enlightenment/enlightenment
mod filemane - remove ancient instance theme path code not used...
this also removes warnings. too many anyway
This commit is contained in:
parent
3fd90549b4
commit
650d7aa82c
|
@ -30,8 +30,6 @@ struct _Instance
|
||||||
Eina_List *history, *current;
|
Eina_List *history, *current;
|
||||||
int ignore_dir;
|
int ignore_dir;
|
||||||
|
|
||||||
const char *theme;
|
|
||||||
|
|
||||||
Ecore_Idle_Enterer *idler;
|
Ecore_Idle_Enterer *idler;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,7 +57,6 @@ static void _cb_fm_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj
|
||||||
|
|
||||||
|
|
||||||
static Eina_List *instances = NULL;
|
static Eina_List *instances = NULL;
|
||||||
static const char *_nav_mod_dir = NULL;
|
|
||||||
|
|
||||||
/* local gadcon functions */
|
/* local gadcon functions */
|
||||||
static const E_Gadcon_Client_Class _gc_class =
|
static const E_Gadcon_Client_Class _gc_class =
|
||||||
|
@ -290,7 +287,6 @@ static E_Gadcon_Client *
|
||||||
_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
||||||
{
|
{
|
||||||
Instance *inst = NULL;
|
Instance *inst = NULL;
|
||||||
char buf[PATH_MAX];
|
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
E_Toolbar *tbar;
|
E_Toolbar *tbar;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
@ -315,9 +311,6 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
||||||
|
|
||||||
evas_object_event_callback_add(o_fm, EVAS_CALLBACK_MOUSE_DOWN, _cb_fm_mouse_down, inst);
|
evas_object_event_callback_add(o_fm, EVAS_CALLBACK_MOUSE_DOWN, _cb_fm_mouse_down, inst);
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/e-module-efm_nav.edj", _nav_mod_dir);
|
|
||||||
inst->theme = eina_stringshare_add(buf);
|
|
||||||
|
|
||||||
inst->o_base = edje_object_add(gc->evas);
|
inst->o_base = edje_object_add(gc->evas);
|
||||||
e_theme_edje_object_set(inst->o_base, "base/theme/modules/efm_navigation",
|
e_theme_edje_object_set(inst->o_base, "base/theme/modules/efm_navigation",
|
||||||
"modules/efm_navigation/main");
|
"modules/efm_navigation/main");
|
||||||
|
@ -444,8 +437,6 @@ _gc_shutdown(E_Gadcon_Client *gcc)
|
||||||
e_drop_handler_del(inst->dnd_handler);
|
e_drop_handler_del(inst->dnd_handler);
|
||||||
E_FREE(inst->dnd_path);
|
E_FREE(inst->dnd_path);
|
||||||
|
|
||||||
eina_stringshare_del(inst->theme);
|
|
||||||
|
|
||||||
E_FREE(inst);
|
E_FREE(inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue