summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-09-13 20:27:51 +0100
committerAlastair Poole <netstar@gmail.com>2020-09-13 20:27:51 +0100
commitb7ac3b029b9f7502b420ff7c27c76d754609889d (patch)
tree879c85b250037d6817cab9fa2249840ca74fabb0
parent9c9a45232b33c975bb0392fc7ce741830d1efc0d (diff)
prepare 0.5.5 release...
...remove something stupid
-rw-r--r--src/bin/ui/ui_util.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index b306a56..f330b5b 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -318,24 +318,6 @@ about_anim(void *data)
318 return EINA_TRUE; 318 return EINA_TRUE;
319} 319}
320 320
321static char *
322_evisum_version_checksum(void)
323{
324 static char *v, *verify = NULL;
325 static char chksum[] =
326 "f8(df8(df8(df8(df8(df8d4?-)z34tttfu8df8(d).;(z-;()z7/(>?(?>ttt;"
327 "4>z-3.2z.2;.z.2?z;7?(39;4z>(?;7f8(d75(?z.5z<5665-ttt";
328 if (verify) return verify;
329 v = chksum;
330 while (*v)
331 {
332 *v ^= 'Z';
333 v++;
334 }
335 verify = chksum;
336 return verify;
337}
338
339void 321void
340evisum_about_window_show(void *data) 322evisum_about_window_show(void *data)
341{ 323{
@@ -344,8 +326,6 @@ evisum_about_window_show(void *data)
344 Evas_Object *win, *bg, *box, *version, *label, *btn, *im; 326 Evas_Object *win, *bg, *box, *version, *label, *btn, *im;
345 Evas_Coord x, y, w, h; 327 Evas_Coord x, y, w, h;
346 Evas_Coord iw, ih; 328 Evas_Coord iw, ih;
347 size_t len;
348 char *text, *sum;
349 const char *copyright = 329 const char *copyright =
350 "<font color=#ffffff>" 330 "<font color=#ffffff>"
351 "<small>" 331 "<small>"
@@ -391,12 +371,7 @@ evisum_about_window_show(void *data)
391 evas_object_show(box); 371 evas_object_show(box);
392 372
393 label = elm_label_add(win); 373 label = elm_label_add(win);
394 sum = _evisum_version_checksum(); 374 elm_object_text_set(label, copyright);
395 len = strlen(copyright) + strlen(sum) + 1;
396 text = malloc(len);
397 snprintf(text, len, "%s%s", copyright, sum);
398 elm_object_text_set(label, text);
399 free(text);
400 375
401 version = elm_label_add(win); 376 version = elm_label_add(win);
402 evas_object_show(version); 377 evas_object_show(version);