diff options
author | David Walter Seikel | 2015-03-22 18:40:11 +1000 |
---|---|---|
committer | David Walter Seikel | 2015-03-22 18:40:11 +1000 |
commit | 44662d7dcf78d836d2281105eacfa3ffcdd524be (patch) | |
tree | 714b18f3833f380c17ea92ac96bcee4c5ad937c5 /src/extantz | |
parent | Allow dropping the Evas_3D stuff out of the compile. (diff) | |
download | SledjHamr-44662d7dcf78d836d2281105eacfa3ffcdd524be.zip SledjHamr-44662d7dcf78d836d2281105eacfa3ffcdd524be.tar.gz SledjHamr-44662d7dcf78d836d2281105eacfa3ffcdd524be.tar.bz2 SledjHamr-44662d7dcf78d836d2281105eacfa3ffcdd524be.tar.xz |
Comment out the radio buttons for now, this is causing the crashing.
Diffstat (limited to 'src/extantz')
-rw-r--r-- | src/extantz/files.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/extantz/files.c b/src/extantz/files.c index 189822d..865a73c 100644 --- a/src/extantz/files.c +++ b/src/extantz/files.c | |||
@@ -142,7 +142,7 @@ void _on_fs_del(void *data, Evas_Object *obj, void *event_info) | |||
142 | 142 | ||
143 | winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool save) | 143 | winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool save) |
144 | { | 144 | { |
145 | winFang *me; | 145 | winFang *me = NULL; |
146 | Widget *wid; | 146 | Widget *wid; |
147 | Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; | 147 | Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; |
148 | 148 | ||
@@ -224,26 +224,26 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa | |||
224 | elm_box_pack_end(vbox, bt); | 224 | elm_box_pack_end(vbox, bt); |
225 | // eo_unref(bt); | 225 | // eo_unref(bt); |
226 | 226 | ||
227 | rdg = rd = eo_add(ELM_RADIO_CLASS, vbox, | 227 | // rdg = rd = eo_add(ELM_RADIO_CLASS, vbox, |
228 | elm_obj_radio_state_value_set(ELM_FILESELECTOR_GRID), | 228 | // elm_obj_radio_state_value_set(ELM_FILESELECTOR_GRID), |
229 | evas_obj_visibility_set(EINA_TRUE) | 229 | // evas_obj_visibility_set(EINA_TRUE) |
230 | ); | 230 | // ); |
231 | elm_object_text_set(rd, "grid"); | 231 | //elm_object_text_set(rd, "grid"); |
232 | elm_box_pack_end(vbox, rd); | 232 | // elm_box_pack_end(vbox, rd); |
233 | evas_object_smart_callback_add(rd, "changed", _mode_changed_cb, fs); | 233 | // evas_object_smart_callback_add(rd, "changed", _mode_changed_cb, fs); |
234 | // Make it start in grid mode. It defaults to list mode, so this swaps it over. | 234 | // Make it start in grid mode. It defaults to list mode, so this swaps it over. |
235 | _mode_changed_cb(fs, rd, NULL); | 235 | // _mode_changed_cb(fs, rd, NULL); |
236 | eo_unref(rd); | 236 | // eo_unref(rd); |
237 | 237 | ||
238 | rd = eo_add(ELM_RADIO_CLASS, vbox, | 238 | // rd = eo_add(ELM_RADIO_CLASS, vbox, |
239 | elm_obj_radio_state_value_set(ELM_FILESELECTOR_LIST), | 239 | // elm_obj_radio_state_value_set(ELM_FILESELECTOR_LIST), |
240 | evas_obj_visibility_set(EINA_TRUE) | 240 | // evas_obj_visibility_set(EINA_TRUE) |
241 | ); | 241 | // ); |
242 | elm_radio_group_add(rd, rdg); | 242 | // elm_radio_group_add(rd, rdg); |
243 | elm_object_text_set(rd, "list"); | 243 | // elm_object_text_set(rd, "list"); |
244 | elm_box_pack_end(vbox, rd); | 244 | // elm_box_pack_end(vbox, rd); |
245 | evas_object_smart_callback_add(rd, "changed", _mode_changed_cb, fs); | 245 | // evas_object_smart_callback_add(rd, "changed", _mode_changed_cb, fs); |
246 | eo_unref(rd); | 246 | // eo_unref(rd); |
247 | // No need to unref this, it's taken care of already. | 247 | // No need to unref this, it's taken care of already. |
248 | //eo_unref(rdg); | 248 | //eo_unref(rdg); |
249 | 249 | ||