1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

treewide: Use GtkButton:icon-name instead of manual GtkImage child

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev 2024-01-11 22:06:57 -08:00
parent 58779b57a3
commit fb93535806
5 changed files with 5 additions and 26 deletions

View file

@ -39,11 +39,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="tooltip-text">Call</property>
<child>
<object class="GtkImage">
<property name="icon-name">call-start-symbolic</property>
</object>
</child>
<property name="icon-name">call-start-symbolic</property>
</object>
</child>
<child>

View file

@ -65,12 +65,8 @@
<object class="GtkHeaderBar">
<child>
<object class="GtkButton" id="show_calls">
<property name="icon-name">system-switch-user-symbolic</property>
<signal name="clicked" handler="show_calls_clicked_cb" swapped="no"/>
<child>
<object class="GtkImage">
<property name="icon_name">system-switch-user-symbolic</property>
</object>
</child>
</object>
</child>
</object>

View file

@ -22,11 +22,7 @@
<child type="end">
<object class="GtkMenuButton">
<property name="popover">menu_popover</property>
<child>
<object class="GtkImage">
<property name="icon_name">open-menu-symbolic</property>
</object>
</child>
<property name="icon-name">open-menu-symbolic</property>
</object>
</child>
</object>

View file

@ -66,15 +66,11 @@
</child>
<child>
<object class="GtkButton" id="dial_result_btn">
<property name="icon-name">call-start-symbolic</property>
<signal name="clicked" handler="dial_result_clicked_cb" swapped="yes"/>
<style>
<class name="rounded-button"/>
</style>
<child>
<object class="GtkImage">
<property name="icon-name">call-start-symbolic</property>
</object>
</child>
</object>
</child>
</object>

View file

@ -8,17 +8,12 @@
<property name="action-name">win.back</property>
<property name="valign">center</property>
<property name="use-underline">True</property>
<property name="icon-name">go-previous-symbolic</property>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-back">
<property name="accessible-name" translatable="yes">Back</property>
</object>
</child>
<child>
<object class="GtkImage" id="back_image">
<property name="icon-name">go-previous-symbolic</property>
<property name="icon-size">normal</property>
</object>
</child>
</object>
</child>
<child type="title">