From: Enlightenment C. <no...@cv...> - 2006-08-17 19:55:32
|
Enlightenment CVS committal Author : rhapsodhy Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/gui Modified Files: layout.c Log Message: Complete layout dialog, and i recognized the bug, but can't fix it, even with the ew_entry_bugfix_makeshow call, because the window isn't visible when i can call the function. Gotta make something for this. =================================================================== RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/layout.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- layout.c 17 Aug 2006 19:42:12 -0000 1.6 +++ layout.c 17 Aug 2006 19:55:30 -0000 1.7 @@ -11,33 +11,36 @@ void egui_layout_dialog_show() { -/* Egui_Settings_Item greeting_items[] = { - { ew_entry_new("Before", NULL, EW_FALSE), + Egui_Settings_Group greeting = { + "Greeting settings", + EW_GROUP_VERTICAL, + 2, + {{ ew_entry_new("Before", NULL, EW_FALSE), ENTRANCE_EDIT_KEY_CLIENT_GREETING_BEFORE_STR, ENTRY }, { ew_entry_new("After", NULL, EW_FALSE), ENTRANCE_EDIT_KEY_CLIENT_GREETING_AFTER_STR, ENTRY - } - };*/ + }} + }; - Egui_Settings_Group greeting = { - "Greeting settings", + Egui_Settings_Group time = { + "Time/Date format", EW_GROUP_VERTICAL, 2, - {{ ew_entry_new("Before", NULL, EW_FALSE), - ENTRANCE_EDIT_KEY_CLIENT_GREETING_BEFORE_STR, + {{ ew_entry_new("Time format", NULL, EW_FALSE), + ENTRANCE_EDIT_KEY_CLIENT_TIME_FORMAT_STR, ENTRY }, - { ew_entry_new("After", NULL, EW_FALSE), - ENTRANCE_EDIT_KEY_CLIENT_GREETING_AFTER_STR, + { ew_entry_new("Data format", NULL, EW_FALSE), + ENTRANCE_EDIT_KEY_CLIENT_TIME_FORMAT_STR, ENTRY }} }; - Egui_Settings_Group groups[] = { greeting }; + Egui_Settings_Group groups[] = { greeting, time }; - egui_settings_dialog_show("Layout settings", 1, groups); + egui_settings_dialog_show("Layout settings", 2, groups); } |