aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/files.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-12 06:39:49 +1000
committerDavid Walter Seikel2014-05-12 06:39:49 +1000
commitc169cd5547a9f90f2c9607f1fd9b0a77eac46043 (patch)
tree4ea11e6618c80479b5595745814015e6168f28d5 /src/extantz/files.c
parentGuiLua uses box for widgets if there's no x supplied. (diff)
downloadSledjHamr-c169cd5547a9f90f2c9607f1fd9b0a77eac46043.zip
SledjHamr-c169cd5547a9f90f2c9607f1fd9b0a77eac46043.tar.gz
SledjHamr-c169cd5547a9f90f2c9607f1fd9b0a77eac46043.tar.bz2
SledjHamr-c169cd5547a9f90f2c9607f1fd9b0a77eac46043.tar.xz
widgetAdd now does the box / grid decision, and some oter things moved into it.
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 036cd4f..9678e3e 100644
--- a/src/extantz/files.c
+++ b/src/extantz/files.c
@@ -148,7 +148,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
148 148
149 me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 300, 500, "file selector", "files", ourGlobals->world); 149 me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 300, 500, "file selector", "files", ourGlobals->world);
150 150
151 wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, me->win, NULL); 151 wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, NULL, -1, -1, -1, -1);
152 fs = wid->obj; 152 fs = wid->obj;
153 wid->data = ourGlobals; 153 wid->data = ourGlobals;
154 wid->on_del = _on_fs_del; 154 wid->on_del = _on_fs_del;
@@ -158,7 +158,6 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa
158 elm_interface_fileselector_expandable_set(EINA_TRUE), 158 elm_interface_fileselector_expandable_set(EINA_TRUE),
159 elm_interface_fileselector_folder_only_set(EINA_FALSE) 159 elm_interface_fileselector_folder_only_set(EINA_FALSE)
160 ); 160 );
161 elm_layout_box_append(me->win, WF_BOX, fs);
162 161
163 elm_fileselector_path_set(fs, path); 162 elm_fileselector_path_set(fs, path);
164 elm_fileselector_is_save_set(fs, save); 163 elm_fileselector_is_save_set(fs, save);