From: Enlightenment S. <no-...@en...> - 2011-02-21 15:33:47
|
Log: Elementary test: Fixed window name and window title name. Unified window name like "genlist2", "genlist-group". Unified window title name like "Genlist 2", "Genlist Group". Author: seoz Date: 2011-02-21 07:33:40 -0800 (Mon, 21 Feb 2011) New Revision: 57214 Trac: http://trac.enlightenment.org/e/changeset/57214 Modified: trunk/elementary/src/bin/test_calendar.c trunk/elementary/src/bin/test_check.c trunk/elementary/src/bin/test_clock.c trunk/elementary/src/bin/test_ctxpopup.c trunk/elementary/src/bin/test_cursor.c trunk/elementary/src/bin/test_fileselector_button.c trunk/elementary/src/bin/test_fileselector_entry.c trunk/elementary/src/bin/test_floating.c trunk/elementary/src/bin/test_gengrid.c trunk/elementary/src/bin/test_genlist.c trunk/elementary/src/bin/test_icon_desktops.c trunk/elementary/src/bin/test_inwin.c trunk/elementary/src/bin/test_launcher.c trunk/elementary/src/bin/test_list.c trunk/elementary/src/bin/test_menu.c trunk/elementary/src/bin/test_notify.c trunk/elementary/src/bin/test_radio.c trunk/elementary/src/bin/test_scaling.c trunk/elementary/src/bin/test_slideshow.c trunk/elementary/src/bin/test_toolbar.c trunk/elementary/src/bin/test_transit.c trunk/elementary/src/bin/test_win_state.c Modified: trunk/elementary/src/bin/test_calendar.c =================================================================== --- trunk/elementary/src/bin/test_calendar.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_calendar.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -85,7 +85,7 @@ "Thursday", "Friday", "Saturday" }; - win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); + win = elm_win_add(NULL, "calendar2", ELM_WIN_BASIC); elm_win_title_set(win, "Calendar 2"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_check.c =================================================================== --- trunk/elementary/src/bin/test_check.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_check.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -9,7 +9,7 @@ Evas_Object *win, *bg, *bx, *ic, *ck; char buf[PATH_MAX]; - win = elm_win_add(NULL, "check", ELM_WIN_BASIC); + win = elm_win_add(NULL, "checks", ELM_WIN_BASIC); elm_win_title_set(win, "Checks"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_clock.c =================================================================== --- trunk/elementary/src/bin/test_clock.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_clock.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -102,7 +102,7 @@ { Evas_Object *win, *bg, *bx, *hbx, *ck, *bt; - win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); + win = elm_win_add(NULL, "clock2", ELM_WIN_BASIC); elm_win_title_set(win, "Clock 2"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_ctxpopup.c =================================================================== --- trunk/elementary/src/bin/test_ctxpopup.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_ctxpopup.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -157,7 +157,7 @@ { Evas_Object *win, *bg, *list; - win = elm_win_add(NULL, "Contexual Popup", ELM_WIN_BASIC); + win = elm_win_add(NULL, "Contextual Popup", ELM_WIN_BASIC); elm_win_title_set(win, "Contextual Popup"); elm_win_autodel_set(win, EINA_TRUE); Modified: trunk/elementary/src/bin/test_cursor.c =================================================================== --- trunk/elementary/src/bin/test_cursor.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_cursor.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -182,7 +182,7 @@ "wood_01.jpg", }; - win = elm_win_add(NULL, "cursor", ELM_WIN_BASIC); + win = elm_win_add(NULL, "cursor2", ELM_WIN_BASIC); elm_win_title_set(win, "Cursor 2"); elm_win_autodel_set(win, 1); @@ -290,7 +290,7 @@ Elm_List_Item *lit; char buf[PATH_MAX]; - win = elm_win_add(NULL, "cursor", ELM_WIN_BASIC); + win = elm_win_add(NULL, "cursor3", ELM_WIN_BASIC); elm_win_title_set(win, "Cursor 3"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_fileselector_button.c =================================================================== --- trunk/elementary/src/bin/test_fileselector_button.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_fileselector_button.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -72,7 +72,7 @@ { Evas_Object *win, *bg, *vbox, *hbox, *ic, *bt, *fs_bt, *en, *lb; - win = elm_win_add(NULL, "fileselector button", ELM_WIN_BASIC); + win = elm_win_add(NULL, "fileselector-button", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector Button"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_fileselector_entry.c =================================================================== --- trunk/elementary/src/bin/test_fileselector_entry.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_fileselector_entry.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -77,7 +77,7 @@ { Evas_Object *win, *bg, *vbox, *hbox, *ic, *bt, *fs_en, *en, *lb; - win = elm_win_add(NULL, "fileselector entry", ELM_WIN_BASIC); + win = elm_win_add(NULL, "fileselector-entry", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector Entry"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_floating.c =================================================================== --- trunk/elementary/src/bin/test_floating.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_floating.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -70,7 +70,7 @@ Ecore_Animator *ani; win = elm_win_add(NULL, "floating", ELM_WIN_BASIC); - elm_win_title_set(win, "Floaating"); + elm_win_title_set(win, "Floating"); elm_win_autodel_set(win, 1); bg = elm_bg_add(win); Modified: trunk/elementary/src/bin/test_gengrid.c =================================================================== --- trunk/elementary/src/bin/test_gengrid.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_gengrid.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -149,8 +149,8 @@ int i, n; char buf[PATH_MAX]; - win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); - elm_win_title_set(win, "Grid"); + win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); + elm_win_title_set(win, "GenGrid"); elm_win_autodel_set(win, 1); bg = elm_bg_add(win); @@ -276,8 +276,8 @@ { Evas_Object *win, *bg, *grid, *bx, *hbx, *bt, *ck; - win = elm_win_add(NULL, "grid2", ELM_WIN_BASIC); - elm_win_title_set(win, "Grid2"); + win = elm_win_add(NULL, "gengrid2", ELM_WIN_BASIC); + elm_win_title_set(win, "GenGrid2"); elm_win_autodel_set(win, 1); bg = elm_bg_add(win); Modified: trunk/elementary/src/bin/test_genlist.c =================================================================== --- trunk/elementary/src/bin/test_genlist.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_genlist.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -346,7 +346,7 @@ Elm_Genlist_Item *gli[10]; char buf[PATH_MAX]; - win = elm_win_add(NULL, "genlist-2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "genlist2", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 2"); elm_win_autodel_set(win, 1); @@ -573,7 +573,7 @@ Evas_Object *win, *bg, *gl, *bx, *bx2, *bt; static Testitem tit[3]; - win = elm_win_add(NULL, "genlist-3", ELM_WIN_BASIC); + win = elm_win_add(NULL, "genlist3", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 3"); elm_win_autodel_set(win, 1); @@ -709,7 +709,7 @@ Evas_Object *win, *bg, *gl, *bx, *bx2, *bt; static Testitem tit[3]; - win = elm_win_add(NULL, "genlist-4", ELM_WIN_BASIC); + win = elm_win_add(NULL, "genlist4", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 4"); elm_win_autodel_set(win, 1); @@ -929,7 +929,7 @@ Evas_Object *win, *bg, *gl, *bx, *bx2, *bt; static Testitem tit[3]; - win = elm_win_add(NULL, "genlist-5", ELM_WIN_BASIC); + win = elm_win_add(NULL, "genlist5", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 5"); elm_win_autodel_set(win, 1); @@ -1261,7 +1261,7 @@ static struct genlist7_data info; static Testitem tit[3]; - win = elm_win_add(NULL, "genlist-7", ELM_WIN_BASIC); + win = elm_win_add(NULL, "genlist7", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 7"); elm_win_autodel_set(win, 1); info.win = win; Modified: trunk/elementary/src/bin/test_icon_desktops.c =================================================================== --- trunk/elementary/src/bin/test_icon_desktops.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_icon_desktops.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -64,7 +64,7 @@ Eina_List *desktops; #endif - win = elm_win_add(NULL, "icon_desktops", ELM_WIN_BASIC); + win = elm_win_add(NULL, "icon-desktops", ELM_WIN_BASIC); elm_win_title_set(win, "Icon Desktops"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_inwin.c =================================================================== --- trunk/elementary/src/bin/test_inwin.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_inwin.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -39,8 +39,8 @@ { Evas_Object *win, *bg, *inwin, *lb; - win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); - elm_win_title_set(win, "Inwin"); + win = elm_win_add(NULL, "inwin2", ELM_WIN_BASIC); + elm_win_title_set(win, "Inwin 2"); elm_win_autodel_set(win, 1); bg = elm_bg_add(win); Modified: trunk/elementary/src/bin/test_launcher.c =================================================================== --- trunk/elementary/src/bin/test_launcher.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_launcher.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -384,8 +384,8 @@ char buf[PATH_MAX]; Eina_List *mbs = NULL; - win = elm_win_add(NULL, "launcher", ELM_WIN_BASIC); - elm_win_title_set(win, "Launcher"); + win = elm_win_add(NULL, "launcher2", ELM_WIN_BASIC); + elm_win_title_set(win, "Launcher 2"); elm_win_autodel_set(win, 1); bg = elm_bg_add(win); Modified: trunk/elementary/src/bin/test_list.c =================================================================== --- trunk/elementary/src/bin/test_list.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_list.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -185,8 +185,8 @@ char buf[PATH_MAX]; Elm_List_Item *it1, *it2, *it3, *it4; - win = elm_win_add(NULL, "list", ELM_WIN_BASIC); - elm_win_title_set(win, "List"); + win = elm_win_add(NULL, "list-horizontal", ELM_WIN_BASIC); + elm_win_title_set(win, "List Horizontal"); elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); @@ -327,7 +327,7 @@ char buf[PATH_MAX]; Elm_List_Item *it; - win = elm_win_add(NULL, "list-2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "list2", ELM_WIN_BASIC); elm_win_title_set(win, "List 2"); elm_win_autodel_set(win, 1); @@ -451,7 +451,7 @@ Evas_Object *win, *bg, *li, *ic, *ic2, *bx; char buf[PATH_MAX]; - win = elm_win_add(NULL, "list-3", ELM_WIN_BASIC); + win = elm_win_add(NULL, "list3", ELM_WIN_BASIC); elm_win_title_set(win, "List 3"); elm_win_autodel_set(win, 1); @@ -606,7 +606,7 @@ static struct Pginfo info = {NULL, NULL}; char buf[PATH_MAX]; - win = elm_win_add(NULL, "list-4", ELM_WIN_BASIC); + win = elm_win_add(NULL, "list4", ELM_WIN_BASIC); elm_win_title_set(win, "List 4"); elm_win_autodel_set(win, 1); info.win = win; @@ -729,7 +729,7 @@ Evas_Object *win, *bg, *li; static struct list5_data_cb info; - win = elm_win_add(NULL, "list-5", ELM_WIN_BASIC); + win = elm_win_add(NULL, "list5", ELM_WIN_BASIC); elm_win_title_set(win, "List 5"); elm_win_autodel_set(win, 1); info.win = win; Modified: trunk/elementary/src/bin/test_menu.c =================================================================== --- trunk/elementary/src/bin/test_menu.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_menu.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -84,7 +84,7 @@ { Elm_Menu_Item *item; - win = elm_win_add(NULL, "Menu", ELM_WIN_BASIC); + win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); elm_win_title_set(win, "Menu"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_notify.c =================================================================== --- trunk/elementary/src/bin/test_notify.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_notify.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -42,7 +42,7 @@ { Evas_Object *win, *bg, *bx, *tb, *notify, *bt, *lb; - win = elm_win_add(NULL, "Notify", ELM_WIN_BASIC); + win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); elm_win_title_set(win, "Notify"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_radio.c =================================================================== --- trunk/elementary/src/bin/test_radio.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_radio.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -9,7 +9,7 @@ Evas_Object *win, *bg, *bx, *ic, *rd, *rdg; char buf[PATH_MAX]; - win = elm_win_add(NULL, "radio", ELM_WIN_BASIC); + win = elm_win_add(NULL, "radios", ELM_WIN_BASIC); elm_win_title_set(win, "Radios"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_scaling.c =================================================================== --- trunk/elementary/src/bin/test_scaling.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_scaling.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -67,7 +67,7 @@ { Evas_Object *win, *bg, *bx, *fr, *lb; - win = elm_win_add(NULL, "scaling-2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "scaling2", ELM_WIN_BASIC); elm_win_title_set(win, "Scaling 2"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_slideshow.c =================================================================== --- trunk/elementary/src/bin/test_slideshow.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_slideshow.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -108,7 +108,7 @@ const Eina_List *l; const char *transition, *layout; - win = elm_win_add(NULL, "Slideshow", ELM_WIN_BASIC); + win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC); elm_win_title_set(win, "Slideshow"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_toolbar.c =================================================================== --- trunk/elementary/src/bin/test_toolbar.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_toolbar.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -180,7 +180,7 @@ Elm_Menu_Item *menu_item; char buf[PATH_MAX]; - win = elm_win_add(NULL, "toolbar-2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "toolbar2", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 2"); elm_win_autodel_set(win, 1); @@ -290,7 +290,7 @@ Elm_Menu_Item *menu_item; char buf[PATH_MAX]; - win = elm_win_add(NULL, "toolbar-3", ELM_WIN_BASIC); + win = elm_win_add(NULL, "toolbar3", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 3"); elm_win_autodel_set(win, 1); @@ -401,7 +401,7 @@ Elm_Menu_Item *menu_item; char buf[PATH_MAX]; - win = elm_win_add(NULL, "toolbar-4", ELM_WIN_BASIC); + win = elm_win_add(NULL, "toolbar4", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 4"); elm_win_autodel_set(win, EINA_TRUE); @@ -511,7 +511,7 @@ Elm_Menu_Item *menu_item; char buf[PATH_MAX]; - win = elm_win_add(NULL, "toolbar-5", ELM_WIN_BASIC); + win = elm_win_add(NULL, "toolbar5", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 5"); elm_win_autodel_set(win, 1); Modified: trunk/elementary/src/bin/test_transit.c =================================================================== --- trunk/elementary/src/bin/test_transit.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_transit.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -282,7 +282,7 @@ { Evas_Object *win, *bg, *bt; - win = elm_win_add(NULL, "transit-2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit2", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 2"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 400, 400); @@ -308,7 +308,7 @@ { Evas_Object *win, *bg, *bt, *bt2; - win = elm_win_add(NULL, "transit-3", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit3", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 3"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 300, 300); @@ -341,7 +341,7 @@ { Evas_Object *win, *bg, *bt; - win = elm_win_add(NULL, "transit-4", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit4", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 4"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 300, 300); @@ -368,7 +368,7 @@ { Evas_Object *win, *bg, *bt, *bt2, *ic; - win = elm_win_add(NULL, "transit-5", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit5", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 5"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 300, 300); @@ -411,7 +411,7 @@ { Evas_Object *win, *bg, *bt, *bt2, *ic; - win = elm_win_add(NULL, "transit-6", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit6", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 6"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 300, 300); @@ -454,7 +454,7 @@ { Evas_Object *win, *bg, *bt, *bt2; - win = elm_win_add(NULL, "transit-7", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit7", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 7"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 400, 400); @@ -489,7 +489,7 @@ Elm_Transit *trans; void *effect_context; - win = elm_win_add(NULL, "transit-8", ELM_WIN_BASIC); + win = elm_win_add(NULL, "transit8", ELM_WIN_BASIC); elm_win_title_set(win, "Transit 8"); elm_win_autodel_set(win, EINA_TRUE); evas_object_resize(win, 400, 400); Modified: trunk/elementary/src/bin/test_win_state.c =================================================================== --- trunk/elementary/src/bin/test_win_state.c 2011-02-21 14:56:49 UTC (rev 57213) +++ trunk/elementary/src/bin/test_win_state.c 2011-02-21 15:33:40 UTC (rev 57214) @@ -115,7 +115,7 @@ { Evas_Object *win, *bg, *sl, *bx, *bx2, *bt, *ck; - win = elm_win_add(NULL, "window-state", ELM_WIN_BASIC); + win = elm_win_add(NULL, "window-states", ELM_WIN_BASIC); elm_win_title_set(win, "Window States"); evas_object_smart_callback_add(win, "moved", my_win_move, NULL); evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize, NULL); @@ -240,7 +240,7 @@ Evas_Object *win, *bg, *sl, *bx, *bx2, *bt, *ck; char buf[PATH_MAX]; - win = elm_win_add(NULL, "window-state2", ELM_WIN_BASIC); + win = elm_win_add(NULL, "window-states2", ELM_WIN_BASIC); elm_win_override_set(win, 1); evas_object_smart_callback_add(win, "moved", my_win_move, NULL); evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize, NULL); |