[nautilus] file-conflict-dialog: Drop image from text button
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-conflict-dialog: Drop image from text button
- Date: Thu, 11 Nov 2021 19:29:41 +0000 (UTC)
commit f8e021308344e4227855dd8d5e9b3d7d0052f81a
Author: António Fernandes <antoniof gnome org>
Date: Wed Nov 10 22:08:04 2021 +0000
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.
src/nautilus-file-conflict-dialog.c | 3 ---
1 file changed, 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]