Skip to content

File conflict dialog mnemonics (Alt-Hotkeys): Replace button missing hotkey, Key S used double conflict #3733

@GunterSchmidt

Description

@GunterSchmidt

Distribution

Mint 22.2

Package version

6.4.5

Frequency

Always

Bug description

When I paste a file onto an existing file, a "file conflict" dialog appear.
I like to use my keyboard and Replace is the most used button, but it does not have an Alt-Key assigned.

Also, the Skip Button has Alt-S assigned, which is also assigned to "Select a new name for destination".

So there are two fixes on the same screen.

This looks like a quick fix, probably only

// nemo-file-conflict-dialog.c
// add underscore before R
	details->replace_button =
		gtk_dialog_add_button (dialog,
				       _("_Replace"), 
				       CONFLICT_RESPONSE_REPLACE);
	gtk_widget_grab_focus (details->replace_button);

and

  // move underscore from _Select to _name
	/* Setup the expander for the rename action */
	details->expander = gtk_expander_new_with_mnemonic (_("Select a new _name for the destination"));
	gtk_box_pack_start (GTK_BOX (vbox2), details->expander, FALSE, FALSE, 0);
	g_signal_connect (details->expander, "activate",
			  G_CALLBACK (expander_activated_cb), dialog);
Image

Steps to reproduce

  1. open second pane,
  2. copy a file with the same name over to the other pane
  3. file conflict dialog opens

Expected behavior

All buttons have mnemonics. No duplicate mnemonics.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions