[geary] Reorder correctly the labels of Gtk.FileChooserNative
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Reorder correctly the labels of Gtk.FileChooserNative
- Date: Mon, 17 Oct 2016 13:53:37 +0000 (UTC)
commit 199a39d32783167aabeaabe154bd8373e3c2ef3a
Author: Jiri Cerny <ji cerny gmail com>
Date: Mon Oct 17 12:02:23 2016 +0200
Reorder correctly the labels of Gtk.FileChooserNative
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=772935
src/client/application/geary-controller.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 2be739f..15cb7eb 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]