Ephoto: Add logo to about page.
This commit is contained in:
parent
75131514cc
commit
58f3d32874
|
@ -72,6 +72,7 @@ AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
data/desktop/Makefile
|
data/desktop/Makefile
|
||||||
|
data/images/Makefile
|
||||||
data/themes/Makefile
|
data/themes/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/bin/Makefile
|
src/bin/Makefile
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in Makefile
|
MAINTAINERCLEANFILES = Makefile.in Makefile
|
||||||
SUBDIRS = desktop themes
|
SUBDIRS = desktop themes images
|
||||||
|
|
|
@ -423,7 +423,7 @@ _ephoto_config_bindings(Evas_Object *parent)
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_ephoto_config_about(Evas_Object *parent)
|
_ephoto_config_about(Evas_Object *parent)
|
||||||
{
|
{
|
||||||
Evas_Object *box, *entry;
|
Evas_Object *box, *entry, *img;
|
||||||
Eina_Strbuf *sbuf = eina_strbuf_new();
|
Eina_Strbuf *sbuf = eina_strbuf_new();
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
||||||
|
@ -433,6 +433,15 @@ _ephoto_config_about(Evas_Object *parent)
|
||||||
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||||
evas_object_show(box);
|
evas_object_show(box);
|
||||||
|
|
||||||
|
img = elm_image_add(box);
|
||||||
|
evas_object_size_hint_min_set(img, 50, 50);
|
||||||
|
elm_image_preload_disabled_set(img, EINA_TRUE);
|
||||||
|
elm_image_file_set(img, PACKAGE_DATA_DIR "/images/ephoto.png", NULL);
|
||||||
|
evas_object_size_hint_weight_set(img, 0.0, 0.0);
|
||||||
|
evas_object_size_hint_align_set(img, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||||
|
elm_box_pack_end(box, img);
|
||||||
|
evas_object_show(img);
|
||||||
|
|
||||||
entry = elm_entry_add(box);
|
entry = elm_entry_add(box);
|
||||||
elm_entry_anchor_hover_style_set(entry, "popout");
|
elm_entry_anchor_hover_style_set(entry, "popout");
|
||||||
elm_entry_anchor_hover_parent_set(entry, parent);
|
elm_entry_anchor_hover_parent_set(entry, parent);
|
||||||
|
|
Loading…
Reference in New Issue