Browse Source

Remove underscores from Save as dialog

tags/v1.0.0
Matt Baer 5 years ago
parent
commit
8318eaa2f5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/window.vala

+ 2
- 2
src/window.vala View File

@@ -350,7 +350,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {

private bool save_as() {
try {
var file = prompt_file(Gtk.FileChooserAction.SAVE, _("_Save as"));
var file = prompt_file(Gtk.FileChooserAction.SAVE, _("Save as"));
file.replace_contents(canvas.buffer.text.data, null, false,
FileCreateFlags.PRIVATE | FileCreateFlags.REPLACE_DESTINATION,
null);
@@ -363,7 +363,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
private File prompt_file(Gtk.FileChooserAction mode, string action)
throws UserCancellable {
var file_chooser = new Gtk.FileChooserDialog(action, this, mode,
_("_Cancel"), Gtk.ResponseType.CANCEL,
_("Cancel"), Gtk.ResponseType.CANCEL,
action, Gtk.ResponseType.ACCEPT);

file_chooser.select_multiple = false;


Loading…
Cancel
Save