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 "<title>Copyright © 1999-2012, by the Enlightenment "
24 "Development Team</><br>"
26 "We hope you enjoy using this software as much as we enjoyed "
29 "This software is provided as-is with no explicit or implied "
30 "warranty. This software is governed by licensing conditions, "
31 "so please see the COPYING and COPYING-PLAIN licence files "
32 "installed on your system.<br>"
34 "Enlightenment is under <hilight>HEAVY DEVELOPMENT</> and it "
35 "is not stable. Many features are incomplete or even non-existent "
36 "yet and may have many bugs. You have been <hilight>WARNED!</>"
45 e_prefix_data_concat_static(buf, "AUTHORS");
49 tbuf = eina_strbuf_new();
50 eina_strbuf_append(tbuf, _("<title>The Team</><br><br>"));
51 while (fgets(buf, sizeof(buf), f))
58 if (buf[len - 1] == '\n')
79 eina_strbuf_append_printf(tbuf, "%s<br>", buf);
86 e_obj_dialog_obj_part_text_set(od, "e.textblock.authors",
87 eina_strbuf_string_get(tbuf));
88 eina_strbuf_free(tbuf);
96 e_about_show(E_About *about)
98 e_obj_dialog_show((E_Obj_Dialog *)about);
99 e_obj_dialog_icon_set((E_Obj_Dialog *)about, "help-about");