1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-10-22 12:45:23 +00:00

call buttons: Add .flat CSS class

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/727>
This commit is contained in:
Anton Lazarev 2024-04-19 14:47:29 -07:00 committed by Marge Bot
parent 05dc7c24ef
commit bb4d92f920
2 changed files with 4 additions and 0 deletions

View file

@ -48,6 +48,7 @@ insert_phonenumber (CallsContactsRow *self,
gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.dial"); gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.dial");
gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "s", number, NULL); gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "s", number, NULL);
gtk_widget_set_visible (button, TRUE); gtk_widget_set_visible (button, TRUE);
gtk_widget_add_css_class (button, "flat");
gtk_grid_attach_next_to (GTK_GRID (self->grid), gtk_grid_attach_next_to (GTK_GRID (self->grid),
button, button,
label, label,

View file

@ -53,6 +53,9 @@
<property name="valign">center</property> <property name="valign">center</property>
<property name="tooltip-text">Call</property> <property name="tooltip-text">Call</property>
<property name="icon-name">call-start-symbolic</property> <property name="icon-name">call-start-symbolic</property>
<style>
<class name="flat"/>
</style>
</object> </object>
</child> </child>
</object> </object>