diff options
author | codewarrior <codewarrior> | 2005-12-19 14:42:43 +0000 |
---|---|---|
committer | codewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2005-12-19 14:42:43 +0000 |
commit | 6121b9413792ce891ceb2dcecbe0bce3661cf5e5 (patch) | |
tree | 404a1822729a8f634a38dd5b9f4878feb650bfeb /src/bin/e_thumb.c | |
parent | b6bc092d13e006bb4dfef26dc9168475ea1afdf4 (diff) | |
download | enlightenment-6121b9413792ce891ceb2dcecbe0bce3661cf5e5.tar.gz |
- misc checks
- add theme selector (basic mode only) from Chady
SVN revision: 19148
Diffstat (limited to 'src/bin/e_thumb.c')
-rw-r--r-- | src/bin/e_thumb.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c index 70d7ed3931..8f10a8c02e 100644 --- a/src/bin/e_thumb.c +++ b/src/bin/e_thumb.c @@ -325,7 +325,7 @@ _e_thumb_etheme_create(char *file, Evas_Coord w, Evas_Coord h, int *ww, int *hh, evas_object_move(clock, (w * 0.9), (h * 0.9)); evas_object_resize(clock, w * 0.1, h * 0.1); /* start */ - evas_object_move(start, (w * 0.9), (h * 0.9)); + evas_object_move(start, 0.1, (h * 0.9)); evas_object_resize(start, w * 0.1, h * 0.1); /* pager */ evas_object_move(pager[0], (w * 0.3), (h * 0.9)); @@ -593,12 +593,15 @@ _e_thumb_cb_exe_exit(void *data, int type, void *event) t->w, t->h, 1); - data = e_icon_data_get(tmp, &w, &h); - e_icon_data_set(t->obj, data, w, h); - evas_object_del(tmp); - if(t->cb) - t->cb(t->obj, t->data); - free(t); + if (tmp && t) + { + data = e_icon_data_get(tmp, &w, &h); + e_icon_data_set(t->obj, data, w, h); + evas_object_del(tmp); + if(t->cb) + t->cb(t->obj, t->data); + free(t); + } } pid = -1; |