ephoto: Applied recent elm changes to ephoto.

SVN revision: 65731
This commit is contained in:
Daniel Juyung Seo 2011-12-01 05:09:59 +00:00
parent 8e54c29d39
commit e315adfa44
1 changed files with 7 additions and 7 deletions

View File

@ -22,10 +22,10 @@ struct _Ephoto_Thumb_Browser
Eina_List *grid_items; Eina_List *grid_items;
Eina_List *handlers; Eina_List *handlers;
struct { struct {
Elm_Toolbar_Item *zoom_in; Elm_Object_Item *zoom_in;
Elm_Toolbar_Item *zoom_out; Elm_Object_Item *zoom_out;
Elm_Toolbar_Item *view_single; Elm_Object_Item *view_single;
Elm_Toolbar_Item *slideshow; Elm_Object_Item *slideshow;
} action; } action;
struct { struct {
Ecore_Animator *todo_items; Ecore_Animator *todo_items;
@ -271,7 +271,7 @@ _ephoto_thumb_selected(void *data, Evas_Object *o __UNUSED__, void *event_info)
Elm_Gengrid_Item *it = event_info; Elm_Gengrid_Item *it = event_info;
Ephoto_Entry *e = elm_gengrid_item_data_get(it); Ephoto_Entry *e = elm_gengrid_item_data_get(it);
elm_gen_item_selected_set(it, EINA_FALSE); elm_gengrid_item_selected_set(it, EINA_FALSE);
if (e->is_dir) if (e->is_dir)
ephoto_directory_set(tb->ephoto, e->path); ephoto_directory_set(tb->ephoto, e->path);
@ -423,7 +423,7 @@ _ephoto_thumb_populate_start(void *data, int type __UNUSED__, void *event __UNUS
_todo_items_free(tb); _todo_items_free(tb);
_grid_items_free(tb); _grid_items_free(tb);
elm_gen_clear(tb->grid); elm_gengrid_clear(tb->grid);
elm_entry_entry_set(tb->entry, tb->ephoto->config->directory); elm_entry_entry_set(tb->entry, tb->ephoto->config->directory);
_up_item_add_if_required(tb); _up_item_add_if_required(tb);
@ -555,7 +555,7 @@ ephoto_thumb_browser_add(Ephoto *ephoto, Evas_Object *parent)
evas_object_size_hint_align_set(tb->grid, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_align_set(tb->grid, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_gengrid_align_set(tb->grid, 0.5, 0.5); elm_gengrid_align_set(tb->grid, 0.5, 0.5);
elm_gen_bounce_set(tb->grid, EINA_FALSE, EINA_TRUE); elm_gengrid_bounce_set(tb->grid, EINA_FALSE, EINA_TRUE);
evas_object_size_hint_align_set evas_object_size_hint_align_set
(tb->grid, EVAS_HINT_FILL, EVAS_HINT_FILL); (tb->grid, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set evas_object_size_hint_weight_set