summaryrefslogtreecommitdiff
path: root/src/nautilus-file-conflict-dialog.c
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-11-10 22:08:04 +0000
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-11-11 19:23:29 +0000
commitf8e021308344e4227855dd8d5e9b3d7d0052f81a (patch)
treeff671814e583839e2f6e67c1928beaa85691721d /src/nautilus-file-conflict-dialog.c
parentc3d0406423cbbcaa8fae32ee1f676dd42fa84113 (diff)
downloadnautilus-f8e021308344e4227855dd8d5e9b3d7d0052f81a.tar.gz
file-conflict-dialog: Drop image from text button
The button has a label and always-show-image is False by default. As a result, the image is never actually used. It's useless and the API is going away in GTK 4 so just remove it.
Diffstat (limited to 'src/nautilus-file-conflict-dialog.c')
-rw-r--r--src/nautilus-file-conflict-dialog.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nautilus-file-conflict-dialog.c b/src/nautilus-file-conflict-dialog.c
index 4552dd5d7..30d0c64f2 100644
--- a/src/nautilus-file-conflict-dialog.c
+++ b/src/nautilus-file-conflict-dialog.c
@@ -326,9 +326,6 @@ nautilus_file_conflict_dialog_init (NautilusFileConflictDialog *fcd)
gtk_entry_set_activates_default (GTK_ENTRY (widget), TRUE);
widget = gtk_button_new_with_label (_("Reset"));
- gtk_button_set_image (GTK_BUTTON (widget),
- gtk_image_new_from_icon_name ("edit-undo",
- GTK_ICON_SIZE_MENU));
gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 6);
g_signal_connect (widget, "clicked",
G_CALLBACK (reset_button_clicked_cb), dialog);