oops what did wrong happen.
sorry.

Daniel Juyung Seo (SeoZ)
On Sep 9, 2013 12:04 AM, "Rafael Antognolli - Enlightenment Git" <
no-re...@enlightenment.org> wrote:

> seoz pushed a commit to branch elementary-1.7.
>
> commit a3c9d9263c2938cdf180a26cc65a3769cc7c409c
> Author: Rafael Antognolli <rafael.antogno...@intel.com>
> Date:   Sat Aug 24 17:02:01 2013 -0300
>
>     list: Fix list_example_03  - call elm_list_go().
> ---
>  src/examples/list_example_03.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/src/examples/list_example_03.c
> b/src/examples/list_example_03.c
> index 3b79bb9..8c6e1df 100644
> --- a/src/examples/list_example_03.c
> +++ b/src/examples/list_example_03.c
> @@ -30,6 +30,7 @@ _prepend_cb(void *data, Evas_Object *obj, void
> *event_info)
>
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_prepend(li, label, NULL, NULL, NULL, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item\n");
>  }
> @@ -43,6 +44,7 @@ _add_cb(void *data, Evas_Object *obj, void *event_info)
>
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_append(li, label, NULL, NULL, NULL, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item\n");
>  }
> @@ -60,6 +62,7 @@ _add_ic_cb(void *data, Evas_Object *obj, void
> *event_info)
>     elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
>
>     list_it = elm_list_item_append(li, label, ic,  NULL, NULL, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item with icon\n");
>  }
> @@ -80,6 +83,7 @@ _add_func_cb(void *data, Evas_Object *obj, void
> *event_info)
>
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_append(li, label, NULL, NULL, _sel_cb, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item\n");
>  }
> @@ -110,6 +114,7 @@ _add_data_cb(void *data, Evas_Object *obj, void
> *event_info)
>     snprintf(content, 32, "Item content %i", counter);
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_append(li, label, NULL, NULL, _sel_data_cb,
> content);
> +   elm_list_go(li);
>     if (!list_it) {
>       printf("Error adding item\n");
>       return;
> @@ -125,6 +130,7 @@ _del_cb(void *data, Evas_Object *obj, void *event_info)
>
>     selected_item = elm_list_selected_item_get(li);
>     elm_object_item_del(selected_item);
> +   elm_list_go(li);
>  }
>
>  static void
> @@ -183,6 +189,7 @@ _insert_after_cb(void *data, Evas_Object *obj, void
> *event_info)
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_insert_after(li, selected_item, label, NULL,
> NULL,
>                                          NULL, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item\n");
>  }
> @@ -214,6 +221,7 @@ _insert_before_cb(void *data, Evas_Object *obj, void
> *event_info)
>     snprintf(label, sizeof(label), "Item %i", counter++);
>     list_it = elm_list_item_insert_before(li, selected_item, label, NULL,
> NULL,
>                                      NULL, NULL);
> +   elm_list_go(li);
>     if (!list_it)
>       printf("Error adding item\n");
>  }
> @@ -227,6 +235,7 @@ _set_separator_cb(void *data, Evas_Object *obj, void
> *event_info)
>     selected_item = elm_list_selected_item_get(li);
>     if (!selected_item) return;
>     elm_list_item_separator_set(selected_item, EINA_TRUE);
> +   elm_list_go(li);
>  }
>
>  static void
>
> --
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to