emojichooser: Add style class to emoji toolbar

Closes #1013
This commit is contained in:
Timm Bäder 2020-02-19 18:13:55 +01:00
parent f14978c68f
commit faddbb18d3
2 changed files with 20 additions and 0 deletions

View File

@ -47,6 +47,23 @@
*
* GtkEmojiChooser emits the #GtkEmojiChooser:emoji-picked signal when an
* Emoji is selected.
*
* # CSS nodes
* |[<!-- language="plain" -->
* popover
* box.emoji-toolbar
* button.iamge-button.emoji-section
* ...
* button.image-button.emoji-section
* ]|
*
* Every #GtkEmojiChooser consists of a main node called popover.
* The contents of the popover are largely implementation defined
* and supposed to inherit general styles.
* The bottom toolbar used to switch between different emoji categories
* consists of buttons with the .emoji-section style class and gets the
* .emoji-toolbar style class itself.
*
*/
#define BOX_SPACE 6

View File

@ -197,6 +197,9 @@
</child>
<child>
<object class="GtkBox">
<style>
<class name="emoji-toolbar" />
</style>
<child>
<object class="GtkButton" id="recent.button">
<property name="relief">none</property>