3 /* local subsystem functions */
5 /* local subsystem globals */
7 /* externally accessible functions */
10 e_about_new(E_Container *con)
14 od = e_obj_dialog_new(con, _("About Enlightenment"), "E", "_about");
16 e_obj_dialog_obj_theme_set(od, "base/theme/about", "e/widgets/about/main");
17 e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
18 e_obj_dialog_obj_part_text_set(od, "e.text.title", _("Enlightenment"));
19 e_obj_dialog_obj_part_text_set(od, "e.text.version", VERSION);
20 e_obj_dialog_obj_part_text_set
21 (od, "e.textblock.about",
23 "Copyright © 1999-2011, by the Enlightenment Development Team.<br>"
25 "We hope you enjoy using this software as much as we enjoyed "
28 "This software is provided as-is with no explicit or implied "
29 "warranty. This software is governed by licensing conditions, "
30 "so please see the COPYING and COPYING-PLAIN licence files "
31 "installed on your system.<br>"
33 "Enlightenment is under <hilight>HEAVY DEVELOPMENT</hilight> and it "
34 "is not stable. Many features are incomplete or even non-existent "
35 "yet and may have many bugs. You have been <hilight>WARNED!</hilight>"
41 char buf[4096], buf2[4096], *tbuf;
43 e_prefix_data_concat_static(buf, "AUTHORS");
47 tbuf = strdup(_("<title>The Team</title>"));
48 while (fgets(buf, sizeof(buf), f))
55 if (buf[len - 1] == '\n')
76 snprintf(buf2, sizeof(buf2), "%s<br>", buf);
77 tbuf = realloc(tbuf, strlen(tbuf) + strlen(buf2) + 1);
85 e_obj_dialog_obj_part_text_set
86 (od, "e.textblock.authors", tbuf);
95 e_about_show(E_About *about)
97 e_obj_dialog_show((E_Obj_Dialog *)about);
98 e_obj_dialog_icon_set((E_Obj_Dialog *)about, "help-about");