aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/files.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 03:48:09 +1000
committerDavid Walter Seikel2014-05-05 03:48:09 +1000
commitab2fb9f9c5d16f60847225608a9b21156659d210 (patch)
treefa2d81082cc7074a96e56bb1b83bd73ff06d6086 /src/extantz/files.c
parentMerge the window handle creation code, and add proper hiding for them. (diff)
downloadSledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.zip
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.gz
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.bz2
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.xz
winFang no longer depends on ourGlobals.
Diffstat (limited to 'src/extantz/files.c')
-rw-r--r--src/extantz/files.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extantz/files.c b/src/extantz/files.c
index c0867c6..6743deb 100644
--- a/src/extantz/files.c
+++ b/src/extantz/files.c
@@ -146,7 +146,8 @@ 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); 149 me = winFangAdd(ourGlobals->win);
150 eina_clist_add_head(&ourGlobals->winFangs, &me->node);
150 151
151 bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, 152 bx = eo_add(ELM_OBJ_BOX_CLASS, me->win,
152 elm_obj_box_homogeneous_set(EINA_FALSE), 153 elm_obj_box_homogeneous_set(EINA_FALSE),
@@ -277,7 +278,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
277 eo_unref(vbox); 278 eo_unref(vbox);
278 eo_unref(bx); 279 eo_unref(bx);
279 280
280 winFangComplete(ourGlobals, me, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500); 281 winFangComplete(me, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500);
281 winFangHide(me); 282 winFangHide(me);
282 return me; 283 return me;
283} 284}