summaryrefslogtreecommitdiff
path: root/src/bin/about.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/about.c')
-rw-r--r--src/bin/about.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/bin/about.c b/src/bin/about.c
index a6a7b5d..10f6949 100644
--- a/src/bin/about.c
+++ b/src/bin/about.c
@@ -9,10 +9,9 @@ _setup(void)
9 Evas_Textblock_Style *st; 9 Evas_Textblock_Style *st;
10 10
11 o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); 11 o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
12 if (o) 12 eo_do(o, evas_obj_position_set(10, 40),
13 eo_do(o, evas_obj_position_set(10, 40), 13 evas_obj_size_set(win_w - 20, win_h - 50),
14 evas_obj_size_set(win_w - 20, win_h - 50), 14 evas_obj_visibility_set(EINA_TRUE));
15 evas_obj_visibility_set(EINA_TRUE));
16 st = evas_textblock_style_new(); 15 st = evas_textblock_style_new();
17 evas_textblock_style_set 16 evas_textblock_style_set
18 (st, 17 (st,
@@ -22,10 +21,9 @@ _setup(void)
22 "p='+ font=Vera font_size=10 align=left'" 21 "p='+ font=Vera font_size=10 align=left'"
23 "/p='- \n \n'" 22 "/p='- \n \n'"
24 ); 23 );
25 if (o) 24 eo_do(o, evas_obj_textblock_style_set(st),
26 eo_do(o, evas_obj_textblock_style_set(st), 25 evas_obj_textblock_clear(),
27 evas_obj_textblock_clear(), 26 evas_obj_textblock_text_markup_set
28 evas_obj_textblock_text_markup_set
29 ("<center>" 27 ("<center>"
30 "Enlightenment used to be a window manager project, but " 28 "Enlightenment used to be a window manager project, but "
31 "since has changed a lot to become a miniature desktop and mobile " 29 "since has changed a lot to become a miniature desktop and mobile "
@@ -57,7 +55,8 @@ _cleanup(void)
57} 55}
58 56
59static void 57static void
60_loop(double t __UNUSED__, int f __UNUSED__) 58_loop(double t EINA_UNUSED,
59 int f EINA_UNUSED)
61{ 60{
62} 61}
63 62
@@ -66,8 +65,8 @@ _key(char *key)
66{ 65{
67 if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q"))) 66 if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")))
68 { 67 {
69 _cleanup(); 68 _cleanup();
70 ui_menu(); 69 ui_menu();
71 } 70 }
72} 71}
73 72