[Freeciv-Dev] (PR#10730) gui-gtk-2.0: "l" and "u" should load and unload
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10730 >
> [jdorje - Mon Oct 25 23:06:04 2004]:
>
> Currently shift-l and shift-u load and unload. However these are common
> commands and should have simple bindings. They should be swapped around
> so they are "l" and "u".
This patch does that. As you can see, it is like shooting fish in a barrel.
Index: client/gui-gtk-2.0/menu.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/menu.c,v
retrieving revision 1.49
diff -u -u -r1.49 menu.c
--- client/gui-gtk-2.0/menu.c 31 Oct 2004 20:45:54 -0000 1.49
+++ client/gui-gtk-2.0/menu.c 1 Nov 2004 01:57:10 -0000
@@ -787,11 +787,11 @@
NULL, 0,
"<Separator>" },
{ "/" N_("Orders") "/" N_("Make _Homecity"), "h",
orders_menu_callback, MENU_ORDER_HOMECITY
},
- { "/" N_("Orders") "/" N_("_Load"), "<shift>L",
+ { "/" N_("Orders") "/" N_("_Load"), "l",
orders_menu_callback, MENU_ORDER_LOAD},
- { "/" N_("Orders") "/" N_("_Unload Transporter"), "u",
+ { "/" N_("Orders") "/" N_("_Unload Transporter"), "<shift>u",
orders_menu_callback, MENU_ORDER_UNLOAD_TRANSPORTER
},
- { "/" N_("Orders") "/" N_("_Unload"), "<shift>U",
+ { "/" N_("Orders") "/" N_("_Unload"), "u",
orders_menu_callback, MENU_ORDER_UNLOAD},
{ "/" N_("Orders") "/" N_("Wake up o_thers"), "<shift>w",
orders_menu_callback, MENU_ORDER_WAKEUP_OTHERS
},
@@ -811,7 +811,7 @@
orders_menu_callback, MENU_ORDER_PATROL
},
{ "/" N_("Orders") "/" N_("_Go to"), "g",
orders_menu_callback, MENU_ORDER_GOTO
},
- { "/" N_("Orders") "/" N_("Go\\/Airlift to City"), "l",
+ { "/" N_("Orders") "/" N_("Go\\/Airlift to City"), "<shift>l",
orders_menu_callback, MENU_ORDER_GOTO_CITY
},
{ "/" N_("Orders") "/" N_("Return to nearest city"), "<shift>g",
orders_menu_callback, MENU_ORDER_RETURN },
|
|