[gnome-chess/arnaudb/wip/gtk4: 22/31] Adapt to FileChooser API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 22/31] Adapt to FileChooser API.
- Date: Thu, 23 Apr 2020 10:00:14 +0000 (UTC)
commit 23bce6e9e6a732075786b294da6337a04cced054
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 ff02326..9404383 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -2308,7 +2308,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]