aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/extantz/files.c')
-rw-r--r--src/extantz/files.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/extantz/files.c b/src/extantz/files.c
index 6ac151d..12dcc8d 100644
--- a/src/extantz/files.c
+++ b/src/extantz/files.c
@@ -147,9 +147,8 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
147 Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; 147 Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel;
148 148
149 me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files", ourGlobals->world); 149 me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files", ourGlobals->world);
150 useBox(me);
151 150
152 wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, me->box, NULL); 151 wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, me->win, NULL);
153 fs = wid->obj; 152 fs = wid->obj;
154 wid->data = ourGlobals; 153 wid->data = ourGlobals;
155 wid->on_del = _on_fs_del; 154 wid->on_del = _on_fs_del;
@@ -159,7 +158,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
159 elm_interface_fileselector_expandable_set(EINA_TRUE), 158 elm_interface_fileselector_expandable_set(EINA_TRUE),
160 elm_interface_fileselector_folder_only_set(EINA_FALSE) 159 elm_interface_fileselector_folder_only_set(EINA_FALSE)
161 ); 160 );
162 elm_box_pack_end(me->box, fs); 161 elm_layout_box_append(me->win, BOX, fs);
163 162
164 elm_fileselector_path_set(fs, path); 163 elm_fileselector_path_set(fs, path);
165 elm_fileselector_is_save_set(fs, save); 164 elm_fileselector_is_save_set(fs, save);
@@ -265,9 +264,8 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
265 elm_box_pack_end(vbox, bt); 264 elm_box_pack_end(vbox, bt);
266 eo_unref(bt); 265 eo_unref(bt);
267 266
268 elm_box_pack_end(me->box, vbox); 267 elm_layout_box_append(me->win, BOX, vbox);
269 evas_object_show(vbox); 268 evas_object_show(vbox);
270 evas_object_show(me->box);
271 eo_unref(vbox); 269 eo_unref(vbox);
272 270
273 winFangHide(me); 271 winFangHide(me);