Touch up the theme and text of the about page.

This commit is contained in:
Jaime Thomas 2009-02-19 23:36:06 +00:00
parent 8c1bf841e2
commit 43e68e0c3d
2 changed files with 14 additions and 13 deletions

View File

@ -1,14 +1,15 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */ /* vim: set sw=3 ts=3 sts=3 expandtab: */
group { group {
name: "ecdb/about"; name: "ecdb/about";
min: 300 360; min: 300 380;
max: 300 360; max: 300 380;
styles { styles {
style { style {
name: "about_style"; name: "about_style";
base: "font=ecdb/default:style=Bold font_size=10 align=center color=#000 style=soft_shadow shadow_color=#00000020 wrap=word"; base: "font=ecdb/default font_size=10 align=center color=#000 style=plain wrap=word";
tag: "hilight" "+ font=ecdb/default:style=Bold text_class=tb_light color=#f00 style=soft_shadow"; tag: "e" "+ font=ecdb/default:style=Bold color=#000 style=soft_shadow shadow_color=@0000001f";
tag: "hilight" "+ font=ecdb/default:style=Bold text_class=tb_light color=#f00 style=soft_shadow shadow_color=@0000001f";
tag: "br" "\n"; tag: "br" "\n";
} }
} }
@ -21,8 +22,8 @@ group {
description { description {
state: "default" 0.0; state: "default" 0.0;
min: 300 360; min: 300 380;
max: 300 360; max: 300 380;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.0 0.0;
@ -65,8 +66,6 @@ group {
description { description {
state: "default" 0.0; state: "default" 0.0;
min: 160 0;
max: 640 640;
rel1 { rel1 {
to_y: "logo"; to_y: "logo";

View File

@ -46,7 +46,7 @@ ecdb_about_show(void)
edje_object_file_set(gui, em->theme_path, "ecdb/about"); edje_object_file_set(gui, em->theme_path, "ecdb/about");
edje_object_signal_callback_add(gui, "ecdb/close", "ecdb", edje_object_signal_callback_add(gui, "ecdb/close", "ecdb",
_ecdb_about_destroy, win); _ecdb_about_destroy, win);
ecore_evas_object_associate(win, gui, ECORE_EVAS_OBJECT_ASSOCIATE_BASE); ecore_evas_object_associate(win, gui, ECORE_EVAS_OBJECT_ASSOCIATE_DEL);
edje_object_size_min_get(gui, &mw, &mh); edje_object_size_min_get(gui, &mw, &mh);
if (mw <= 0) mw = 350; if (mw <= 0) mw = 350;
if (mh <= 0) mh = 350; if (mh <= 0) mh = 350;
@ -63,8 +63,7 @@ ecdb_about_show(void)
/* Set the proper text */ /* Set the proper text */
edje_object_part_text_set(gui, "ecdb.about.label", "Close"); edje_object_part_text_set(gui, "ecdb.about.label", "Close");
edje_object_part_text_set(gui, "ecdb.about.text", edje_object_part_text_set(gui, "ecdb.about.text",
"Copywrite ©2006-2008, by the ECDB Development Team.<br>" "<e>Copywrite ©2006-2008, by the ECDB Development Team.<br></e>"
"<br>"
"This software is provided as-is with no explicit or implied " "This software is provided as-is with no explicit or implied "
"warranty. This software is governed by licensing conditions, " "warranty. This software is governed by licensing conditions, "
"so please see the COPYING and COPYRIGHT license files installed " "so please see the COPYING and COPYRIGHT license files installed "
@ -73,7 +72,10 @@ ecdb_about_show(void)
"not stable. Many features are incomplete or non-existant, and " "not stable. Many features are incomplete or non-existant, and "
"will likely have many bugs. You have been <hilight>WARNED!</hilight>" "will likely have many bugs. You have been <hilight>WARNED!</hilight>"
"<br><br>" "<br><br>"
"Authors: Jaime Thomas <avi.thomas@gmail.com><br>" "<e>Authors:</e><br>"
"Contributors: Mario Danic <mario@libburnia-project.org><br>"); "Jaime Thomas &lt;avi.thomas@gmail.com&gt;<br>"
"<br>"
"<e>Contributors:</e><br>"
"Mario Danic &lt;mario@libburnia-project.org&gt;<br>");
} }