[gnome-chess/arnaudb/wip/gtk4: 14/27] Adapt to FileChooser API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 14/27] Adapt to FileChooser API.
- Date: Sat, 26 Sep 2020 10:09:57 +0000 (UTC)
commit ca1d39616b64ad80598bc8915897317e9e04fd09
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Apr 7 10:36:13 2020 +0200
Adapt to FileChooser API.
TODO handle error.
src/gnome-chess.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index ab9abc2..ee9035e 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -2307,7 +2307,7 @@ Copyright © 2015–2016 Sahil Sareen""";
_("_Cancel"));
if (game_file != null && game_file.get_path () != autosave_filename)
- save_dialog.set_filename (game_file.get_path ());
+ save_dialog.set_file (game_file);
else
save_dialog.set_current_name (/* Default filename for the save game dialog */
_("Untitled Chess Game") + ".pgn");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]