applications-panel: Set pill style on button

See https://developer.gnome.org/hig/patterns/controls/buttons.html
This commit is contained in:
Maximiliano Sandoval R 2023-10-16 21:01:09 +02:00
parent 051104fea7
commit 56f2ac9cb3
No known key found for this signature in database
GPG key ID: D64A8D747F6FE706

View file

@ -421,9 +421,11 @@
<property name="valign">center</property>
<property name="margin-top">12</property>
<property name="label" translatable="yes">Reset</property>
<property name="halign">center</property>
<signal name="clicked" handler="handler_reset_cb" object="CcApplicationsPanel" swapped="yes"/>
<style>
<class name="destructive-action" />
<class name="pill" />
</style>
</object>
</child>
@ -497,7 +499,11 @@
<object class="GtkButton" id="clear_cache_button">
<property name="label" translatable="yes">_Clear Cache</property>
<property name="use-underline">True</property>
<property name="halign">center</property>
<signal name="clicked" handler="clear_cache_cb" object="CcApplicationsPanel" swapped="yes"/>
<style>
<class name="pill" />
</style>
</object>
</child>
</object>