Merge branch 'wip/exalm/papercuts' into 'master'

Fix 2 papercuts

See merge request GNOME/gtk!3945
This commit is contained in:
Matthias Clasen 2021-09-14 11:36:25 +00:00
commit b1a5c3ff55
2 changed files with 2 additions and 0 deletions

View File

@ -366,6 +366,7 @@ gtk_search_bar_init (GtkSearchBar *bar)
gtk_widget_set_hexpand (bar->box_center, TRUE);
bar->close_button = gtk_button_new_from_icon_name ("window-close-symbolic");
gtk_widget_set_valign (bar->close_button, GTK_ALIGN_CENTER);
gtk_widget_add_css_class (bar->close_button, "close");
gtk_center_box_set_end_widget (GTK_CENTER_BOX (bar->box_center), bar->close_button);
gtk_widget_hide (bar->close_button);

View File

@ -23,6 +23,7 @@
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="has-frame">0</property>
<property name="icon-name">media-playback-start-symbolic</property>
<signal name="clicked" handler="play_button_clicked" object="GtkMediaControls" swapped="no"/>
</object>