42ae052da7
This keyboard works similar to GTK+'s emoji chooser (actually, both pull from the same JSON file). Emojis are categorized in sections and variants and kept in a "model". The EmojiPager actor then uses this model to generate pages on-the-fly as the user swipes around. This is an important optimization since the amount of actors would rival with the rest of the shell otherwise. The EmojiSelection object puts the EmojiPager, the page indicators and a KeyContainer with the bottom row of emoji section shortcuts together to implement the emoji panel as a whole. The Keyboard object hooked this to an "emoji" key, which is just visible on the Clutter.InputContentPurpose where showing an emoji would be meaningful. Otherwise the surrounding buttons are made a bit wider to cover up for it (i.e. as it was before).
60 lines
1.5 KiB
XML
60 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gresources>
|
|
<gresource prefix="/org/gnome/shell/osk-layouts">
|
|
<file>am.json</file>
|
|
<file>ara.json</file>
|
|
<file>be.json</file>
|
|
<file>bg.json</file>
|
|
<file>by.json</file>
|
|
<file>cz.json</file>
|
|
<file>de.json</file>
|
|
<file>dk.json</file>
|
|
<file>ee.json</file>
|
|
<file>epo.json</file>
|
|
<file>es+cat.json</file>
|
|
<file>es.json</file>
|
|
<file>fi.json</file>
|
|
<file>fr.json</file>
|
|
<file>ge.json</file>
|
|
<file>gr.json</file>
|
|
<file>hr.json</file>
|
|
<file>hu.json</file>
|
|
<file>id.json</file>
|
|
<file>il.json</file>
|
|
<file>in+bolnagri.json</file>
|
|
<file>in+mal.json</file>
|
|
<file>ir.json</file>
|
|
<file>is.json</file>
|
|
<file>it.json</file>
|
|
<file>ke.json</file>
|
|
<file>kg.json</file>
|
|
<file>kh.json</file>
|
|
<file>la.json</file>
|
|
<file>latam.json</file>
|
|
<file>lt.json</file>
|
|
<file>lv.json</file>
|
|
<file>mk.json</file>
|
|
<file>mn.json</file>
|
|
<file>my.json</file>
|
|
<file>nl.json</file>
|
|
<file>no.json</file>
|
|
<file>ph.json</file>
|
|
<file>pl.json</file>
|
|
<file>pt.json</file>
|
|
<file>ro.json</file>
|
|
<file>rs.json</file>
|
|
<file>ru.json</file>
|
|
<file>se.json</file>
|
|
<file>si.json</file>
|
|
<file>sk.json</file>
|
|
<file>th.json</file>
|
|
<file>tr.json</file>
|
|
<file>ua.json</file>
|
|
<file>uk.json</file>
|
|
<file>us.json</file>
|
|
<file>vn.json</file>
|
|
<file>za.json</file>
|
|
<file>emoji.json</file>
|
|
</gresource>
|
|
</gresources>
|