mail[Wesnoth-commits] r28826 - in /trunk: data/core/editor2-hotkeys.cfg src/editor2/editor_controller.cpp src/hotkeys.cpp src/hotkeys.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by kailoran on August 21, 2008 - 18:52:
Author: ilor
Date: Thu Aug 21 18:52:54 2008
New Revision: 28826

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28826&view=rev
Log:
editor2: remove partial redo, it was unused anyway (use normal redo to redo a 
partial undo)

Modified:
    trunk/data/core/editor2-hotkeys.cfg
    trunk/src/editor2/editor_controller.cpp
    trunk/src/hotkeys.cpp
    trunk/src/hotkeys.hpp

Modified: trunk/data/core/editor2-hotkeys.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/editor2-hotkeys.cfg?rev=28826&r1=28825&r2=28826&view=diff
==============================================================================
--- trunk/data/core/editor2-hotkeys.cfg (original)
+++ trunk/data/core/editor2-hotkeys.cfg Thu Aug 21 18:52:54 2008
@@ -19,12 +19,6 @@
 [hotkey]
        command="editor-partial-undo"
        key="z"
-       {IF_APPLE_CMD_ELSE_CTRL}
-[/hotkey]
-
-[hotkey]
-       command="editor-partial-redo"
-       key="y"
        {IF_APPLE_CMD_ELSE_CTRL}
 [/hotkey]
 

Modified: trunk/src/editor2/editor_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28826&r1=28825&r2=28826&view=diff
==============================================================================
--- trunk/src/editor2/editor_controller.cpp (original)
+++ trunk/src/editor2/editor_controller.cpp Thu Aug 21 18:52:54 2008
@@ -458,8 +458,6 @@
                        return true;
                case HOTKEY_EDITOR_PARTIAL_UNDO:
                        return true;
-               case HOTKEY_EDITOR_PARTIAL_REDO:
-                       return false;
                case HOTKEY_EDITOR_QUIT_TO_DESKTOP:
                case HOTKEY_EDITOR_MAP_NEW:
                case HOTKEY_EDITOR_MAP_LOAD:

Modified: trunk/src/hotkeys.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/hotkeys.cpp?rev=28826&r1=28825&r2=28826&view=diff
==============================================================================
--- trunk/src/hotkeys.cpp (original)
+++ trunk/src/hotkeys.cpp Thu Aug 21 18:52:54 2008
@@ -133,7 +133,6 @@
 #ifdef USE_EDITOR2
        { hotkey::HOTKEY_EDITOR_QUIT_TO_DESKTOP, "editor-quit-to-desktop", 
N_("Quit to Desktop"), false, hotkey::SCOPE_EDITOR },
        { hotkey::HOTKEY_EDITOR_PARTIAL_UNDO, "editor-partial-undo", 
N_("Partial Undo"), false, hotkey::SCOPE_EDITOR },
-       { hotkey::HOTKEY_EDITOR_PARTIAL_REDO, "editor-partial-redo", 
N_("Partial Redo"), false, hotkey::SCOPE_EDITOR },
        { hotkey::HOTKEY_EDITOR_MAP_NEW, "editor-map-new", N_("New Map"), 
false, hotkey::SCOPE_EDITOR },
        { hotkey::HOTKEY_EDITOR_MAP_LOAD, "editor-map-load", N_("Load Map"), 
false, hotkey::SCOPE_EDITOR },
        { hotkey::HOTKEY_EDITOR_MAP_SAVE, "editor-map-save", N_("Save Map"), 
false, hotkey::SCOPE_EDITOR },

Modified: trunk/src/hotkeys.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/hotkeys.hpp?rev=28826&r1=28825&r2=28826&view=diff
==============================================================================
--- trunk/src/hotkeys.hpp (original)
+++ trunk/src/hotkeys.hpp Thu Aug 21 18:52:54 2008
@@ -72,7 +72,7 @@
        
 #ifdef USE_EDITOR2
        HOTKEY_EDITOR_QUIT_TO_DESKTOP,
-       HOTKEY_EDITOR_PARTIAL_UNDO, HOTKEY_EDITOR_PARTIAL_REDO,
+       HOTKEY_EDITOR_PARTIAL_UNDO,
        HOTKEY_EDITOR_MAP_NEW, HOTKEY_EDITOR_MAP_LOAD, HOTKEY_EDITOR_MAP_SAVE,
        HOTKEY_EDITOR_MAP_SAVE_AS, HOTKEY_EDITOR_MAP_REVERT, 
HOTKEY_EDITOR_MAP_INFO,
        HOTKEY_EDITOR_TERRAIN_PALETTE_SWAP,




Related Messages


Powered by MHonArc, Updated Thu Aug 21 19:01:29 2008