[Commits] [wesnoth/wesnoth] 25a5fa: editor: Add Recent Files menu with recently loaded...
GitHub
noreply at github.com
Fri Oct 9 22:56:41 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 25a5facce352e0d794984d0075900fe0fd9865c5
https://github.com/wesnoth/wesnoth/commit/25a5facce352e0d794984d0075900fe0fd9865c5
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M data/themes/editor.cfg
M src/editor/controller/editor_controller.cpp
M src/editor/controller/editor_controller.hpp
M src/editor/editor_preferences.cpp
M src/editor/editor_preferences.hpp
M src/editor/map/context_manager.cpp
M src/editor/map/context_manager.hpp
M src/editor/map/map_context.cpp
M src/editor/map/map_context.hpp
Log Message:
-----------
editor: Add Recent Files menu with recently loaded/saved files
File paths are recorded into the game preferences up to a (currently
hardcoded) limit of 6 and opening or saving maps adds or bumps existing
entries to the top. We may allow users to change the MRU limit in
Advanced Preferences in a later commit.
Adds two translatable strings.
In order to fit file paths in the menu without filling up the whole
screen sideways, we use only the file names for now. Because identical
file names could prove to be an actual issue later, I intend to look
into ellipsizing paths correctly in a later step.
(Note that I'm piggybacking on the crummy submenu support we already had
in the themable UI so that this can be safely backported to 1.12. It's
decidedly not optimal usability-wise, but it'll have to do for now.)
Commit: e18605733642f7a35c01f2251cdacd874c12dfc4
https://github.com/wesnoth/wesnoth/commit/e18605733642f7a35c01f2251cdacd874c12dfc4
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M data/advanced_preferences.cfg
M src/editor/editor_preferences.cpp
Log Message:
-----------
editor: Make Recent Files limit customizable and increase default to 10
Commit: 916ec18069b1958ef365204aa1884de7f5fe9e88
https://github.com/wesnoth/wesnoth/commit/916ec18069b1958ef365204aa1884de7f5fe9e88
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M changelog
Log Message:
-----------
Update changelog
Commit: d744a88808bbea3a8d5d6205ece835878eb14195
https://github.com/wesnoth/wesnoth/commit/d744a88808bbea3a8d5d6205ece835878eb14195
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M changelog
M data/advanced_preferences.cfg
M data/themes/editor.cfg
M src/editor/controller/editor_controller.cpp
M src/editor/controller/editor_controller.hpp
M src/editor/editor_preferences.cpp
M src/editor/editor_preferences.hpp
M src/editor/map/context_manager.cpp
M src/editor/map/context_manager.hpp
M src/editor/map/map_context.cpp
M src/editor/map/map_context.hpp
Log Message:
-----------
Merge branch 'feature/editor-mru-master'
Compare: https://github.com/wesnoth/wesnoth/compare/dfabf7203043...d744a88808bb
More information about the Commits
mailing list