Reorder correctly the labels of Gtk.FileChooserNative
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=772935
This commit is contained in:
parent
8ea5e3c8a0
commit
199a39d327
1 changed files with 2 additions and 2 deletions
|
|
@ -2048,7 +2048,7 @@ public class GearyController : Geary.BaseObject {
|
|||
: Gtk.FileChooserAction.SELECT_FOLDER;
|
||||
#if GTK_3_20
|
||||
Gtk.FileChooserNative dialog = new Gtk.FileChooserNative(null, main_window, action,
|
||||
Stock._CANCEL, Stock._SAVE);
|
||||
Stock._SAVE, Stock._CANCEL);
|
||||
#else
|
||||
Gtk.FileChooserDialog dialog = new Gtk.FileChooserDialog(null, main_window, action,
|
||||
Stock._CANCEL, Gtk.ResponseType.CANCEL, Stock._SAVE, Gtk.ResponseType.ACCEPT, null);
|
||||
|
|
@ -2110,7 +2110,7 @@ public class GearyController : Geary.BaseObject {
|
|||
private void on_save_buffer_to_file(string? filename, Geary.Memory.Buffer buffer) {
|
||||
#if GTK_3_20
|
||||
Gtk.FileChooserNative dialog = new Gtk.FileChooserNative(null, main_window, Gtk.FileChooserAction.SAVE,
|
||||
Stock._CANCEL, Stock._SAVE);
|
||||
Stock._SAVE, Stock._CANCEL);
|
||||
#else
|
||||
Gtk.FileChooserDialog dialog = new Gtk.FileChooserDialog(null, main_window, Gtk.FileChooserAction.SAVE,
|
||||
Stock._CANCEL, Gtk.ResponseType.CANCEL, Stock._SAVE, Gtk.ResponseType.ACCEPT, null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue