[WM_ROT] support for rotating prediction window without virtual keyboard
[platform/core/uifw/e17.git] / src / bin / e_theme_about.c
1 #include "e.h"
2
3 /* local subsystem functions */
4
5 /* local subsystem globals */
6
7 /* externally accessible functions */
8
9 EAPI E_Theme_About *
10 e_theme_about_new(E_Container *con)
11 {
12    E_Obj_Dialog *od;
13
14    od = e_obj_dialog_new(con, _("About Theme"), "E", "_theme_about");
15    if (!od) return NULL;
16    e_obj_dialog_obj_theme_set(od, "base/theme", "e/theme/about");
17    e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
18
19    return (E_Theme_About *)od;
20 }
21
22 EAPI void
23 e_theme_about_show(E_Theme_About *about)
24 {
25    e_obj_dialog_show((E_Obj_Dialog *)about);
26    e_obj_dialog_icon_set((E_Obj_Dialog *)about, "preferences-desktop-theme");
27 }