aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/files.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-06 16:53:17 +1000
committerDavid Walter Seikel2014-05-06 16:53:17 +1000
commit20f851e6e2ceed52739ffcad85e10fa4c183bff1 (patch)
treedff97aa7a2b694e27e8c32ae58489e375805bade /src/extantz/files.c
parentDisable the non working Elm input callback, and TODO++. (diff)
downloadSledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.zip
SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.gz
SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.bz2
SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.xz
Every window is a winFang now, and winFangs delete their own children.
Diffstat (limited to 'src/extantz/files.c')
-rw-r--r--src/extantz/files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extantz/files.c b/src/extantz/files.c
index 357769e..948c261 100644
--- a/src/extantz/files.c
+++ b/src/extantz/files.c
@@ -146,8 +146,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
146 Widget *wid; 146 Widget *wid;
147 Evas_Object *bx, *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; 147 Evas_Object *bx, *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel;
148 148
149 me = winFangAdd(ourGlobals->win, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files"); 149 me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files");
150 eina_clist_add_head(&ourGlobals->winFangs, &me->node);
151 150
152 bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, 151 bx = eo_add(ELM_OBJ_BOX_CLASS, me->win,
153 elm_obj_box_homogeneous_set(EINA_FALSE), 152 elm_obj_box_homogeneous_set(EINA_FALSE),