e17 wizard - update missing flags and alignment in ui, as well as refresh

this adds moldova (moldavian?) flag for layouts of keyboards and
refreshes some of the generic images for unknown, latin america, brail
and arabic "flag" images, and forces flag icons to be 2:1 aspect
ration with icon centered within that area to address T647
devs/sachiel/e19
Carsten Haitzler 9 years ago
parent 0c2d21558f
commit e2c20040e8
  1. 1
      data/flags/Makefile.am
  2. BIN
      data/flags/ara_flag.png
  3. BIN
      data/flags/brai_flag.png
  4. BIN
      data/flags/latam_flag.png
  5. BIN
      data/flags/md_flag.png
  6. BIN
      data/flags/np_flag.png
  7. BIN
      data/flags/unknown_flag.png
  8. 6
      src/modules/wizard/page_010.c
  9. 5
      src/modules/wizard/page_011.c

@ -63,6 +63,7 @@ lt_flag.png \
lv_flag.png \
ma_flag.png \
mao_flag.png \
md_flag.png \
me_flag.png \
mk_flag.png \
ml_flag.png \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -159,7 +159,7 @@ wizard_page_show(E_Wizard_Page *pg)
o = e_widget_list_add(pg->evas, 1, 0);
e_wizard_title_set(_("Language"));
of = e_widget_framelist_add(pg->evas, _("Select one"), 0);
ob = e_widget_ilist_add(pg->evas, 32 * e_scale, 32 * e_scale, &lang);
ob = e_widget_ilist_add(pg->evas,10 * e_scale, 10 * e_scale, &lang);
e_widget_size_min_set(ob, 140 * e_scale, 140 * e_scale);
e_widget_ilist_freeze(ob);
@ -180,7 +180,9 @@ wizard_page_show(E_Wizard_Page *pg)
}
else
ic = NULL;
if (ic)
evas_object_size_hint_aspect_set
(ic, EVAS_ASPECT_CONTROL_VERTICAL, 20, 10);
if (e_intl_language_get())
{
if (!strcmp(pair->locale_key, e_intl_language_get()))

@ -145,7 +145,7 @@ wizard_page_show(E_Wizard_Page *pg)
o = e_widget_list_add(pg->evas, 1, 0);
e_wizard_title_set(_("Keyboard"));
of = e_widget_framelist_add(pg->evas, _("Select one"), 0);
ob = e_widget_ilist_add(pg->evas, 32 * e_scale, 32 * e_scale, &layout);
ob = e_widget_ilist_add(pg->evas, 10 * e_scale, 10 * e_scale, &layout);
e_widget_size_min_set(ob, 140 * e_scale, 140 * e_scale);
e_widget_ilist_freeze(ob);
@ -159,6 +159,9 @@ wizard_page_show(E_Wizard_Page *pg)
e_xkb_e_icon_flag_setup(ic, lay->name);
label = lay->label;
if (!label) label = "Unknown";
if (ic)
evas_object_size_hint_aspect_set
(ic, EVAS_ASPECT_CONTROL_VERTICAL, 20, 10);
e_widget_ilist_append(ob, ic, _(label), NULL, NULL, lay->name);
if (lay->name)
{

Loading…
Cancel
Save