call buttons: Add .flat CSS class
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/727>
This commit is contained in:
@@ -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,
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user