general: Use proper icon in remove buttons of some list rows

window-close-symbolic shouldn't be used in this case.
Use edit-delete-symbolic instead.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2842
This commit is contained in:
Automeris naranja 2024-01-16 18:27:19 -03:00 committed by Felipe Borges
parent af72bcaabd
commit 50c413e6bb
2 changed files with 2 additions and 2 deletions

View file

@ -574,7 +574,7 @@ create_row_for_place (CcSearchLocationsDialog *self, Place *place)
gtk_widget_set_margin_bottom (separator, 12);
adw_action_row_add_suffix (ADW_ACTION_ROW (widgets->row), separator);
remove_button = gtk_button_new_from_icon_name ("window-close-symbolic");
remove_button = gtk_button_new_from_icon_name ("edit-delete-symbolic");
g_object_set_data (G_OBJECT (remove_button), "place", place);
gtk_widget_set_valign (remove_button, GTK_ALIGN_CENTER);
gtk_widget_add_css_class (remove_button, "flat");

View file

@ -420,7 +420,7 @@ cc_sharing_panel_new_media_sharing_row (const char *uri_or_path,
adw_preferences_row_set_title (ADW_PREFERENCES_ROW (row), basename);
/* Remove button */
w = gtk_button_new_from_icon_name ("window-close-symbolic");
w = gtk_button_new_from_icon_name ("edit-delete-symbolic");
gtk_widget_add_css_class (w, "flat");
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
gtk_accessible_update_property (GTK_ACCESSIBLE (w),