Remove underscores from Save as dialog
This commit is contained in:
parent
6e530b33d2
commit
8318eaa2f5
@ -350,7 +350,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
|
|||||||
|
|
||||||
private bool save_as() {
|
private bool save_as() {
|
||||||
try {
|
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,
|
file.replace_contents(canvas.buffer.text.data, null, false,
|
||||||
FileCreateFlags.PRIVATE | FileCreateFlags.REPLACE_DESTINATION,
|
FileCreateFlags.PRIVATE | FileCreateFlags.REPLACE_DESTINATION,
|
||||||
null);
|
null);
|
||||||
@ -363,7 +363,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
|
|||||||
private File prompt_file(Gtk.FileChooserAction mode, string action)
|
private File prompt_file(Gtk.FileChooserAction mode, string action)
|
||||||
throws UserCancellable {
|
throws UserCancellable {
|
||||||
var file_chooser = new Gtk.FileChooserDialog(action, this, mode,
|
var file_chooser = new Gtk.FileChooserDialog(action, this, mode,
|
||||||
_("_Cancel"), Gtk.ResponseType.CANCEL,
|
_("Cancel"), Gtk.ResponseType.CANCEL,
|
||||||
action, Gtk.ResponseType.ACCEPT);
|
action, Gtk.ResponseType.ACCEPT);
|
||||||
|
|
||||||
file_chooser.select_multiple = false;
|
file_chooser.select_multiple = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user