summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Piskun <o.piskun@samsung.com>2017-12-22 17:51:31 +0200
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2017-12-22 17:51:31 +0200
commit0d7eae88df27bb2ff87bf1ad1be1028209a4367b (patch)
tree8240f9b52c2ce2ca7582f3373072893ab40fbf18
parentc2a991347db03f706ba9b0ec64bd80df8d41ad45 (diff)
Add logo into about.
Summary: Install logo and add it to entry. Reviewers: i.furs, NikaWhite Differential Revision: https://phab.enlightenment.org/D5704
-rw-r--r--data/images/CMakeLists.txt5
-rw-r--r--data/images/logo.pngbin0 -> 48157 bytes
-rw-r--r--src/bin/main.c2
3 files changed, 7 insertions, 0 deletions
diff --git a/data/images/CMakeLists.txt b/data/images/CMakeLists.txt
index ad41f9d..fe40bac 100644
--- a/data/images/CMakeLists.txt
+++ b/data/images/CMakeLists.txt
@@ -5,4 +5,9 @@ include(GNUInstallDirs)
5install ( 5install (
6 FILES efl_profiling_viewer.png 6 FILES efl_profiling_viewer.png
7 DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/ 7 DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/
8)
9
10install (
11 FILES logo.png
12 DESTINATION share/${CMAKE_PROJECT_NAME}/images/
8) \ No newline at end of file 13) \ No newline at end of file
diff --git a/data/images/logo.png b/data/images/logo.png
new file mode 100644
index 0000000..4de14c5
--- /dev/null
+++ b/data/images/logo.png
Binary files differ
diff --git a/src/bin/main.c b/src/bin/main.c
index 7ae825f..57d805b 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -127,6 +127,8 @@ _menu_help_popup_cb(void *win, Evas_Object *obj EINA_UNUSED, void *event_info EI
127 Eina_Strbuf *help = NULL; 127 Eina_Strbuf *help = NULL;
128 elm_object_part_text_set(popup, "title,text", "About"); 128 elm_object_part_text_set(popup, "title,text", "About");
129 help = eina_strbuf_new(); 129 help = eina_strbuf_new();
130 eina_strbuf_append_printf(help, "<align=center><item size=64x64 vsize=full "
131 "href=file://%s/images/logo.png></item><br></align>", dir);
130 eina_strbuf_append_printf(help, 132 eina_strbuf_append_printf(help,
131 "<color=#b6b6b6>" 133 "<color=#b6b6b6>"
132 "<b><align=center>"PROJECT_NAME" v."VERSION" </align></b><br>" 134 "<b><align=center>"PROJECT_NAME" v."VERSION" </align></b><br>"