Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11431) No shortcuts for un/load in GTK1
Home

[Freeciv-Dev] (PR#11431) No shortcuts for un/load in GTK1

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11431) No shortcuts for un/load in GTK1
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 9 Dec 2004 08:03:51 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11431 >


CVS 09 DEC 2004 S2 GTK1

In the GTK1 client, there are not shortcut keys for loading/unloading units
onto a ship.

The attached patch works for me.

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

diff -Nur ../s20/freeciv/client/gui-gtk/menu.c ./client/gui-gtk/menu.c
--- ../s20/freeciv/client/gui-gtk/menu.c        2004-11-24 11:58:22.000000000 
+0100
+++ ./client/gui-gtk/menu.c     2004-12-09 17:02:07.000000000 +0100
@@ -716,11 +716,11 @@
        NULL,                   0,                                      
"<Separator>"   },
   { "/" N_("_Orders") "/" N_("Make _Homecity"),                "h",
        orders_menu_callback,   MENU_ORDER_HOMECITY                             
        },
-  { "/" N_("_Orders") "/" N_("_Unload Transporter"),   "u",
+  { "/" N_("_Orders") "/" N_("_Unload Transporter"),   "<shift>u",
        orders_menu_callback,   MENU_ORDER_UNLOAD_TRANSPORTER                   
                },
-  { "/" N_("_Orders") "/" N_("Load"), "",
+  { "/" N_("_Orders") "/" N_("Load"),                  "l",
     orders_menu_callback, MENU_ORDER_LOAD},
-  { "/" N_("_Orders") "/" N_("Unload"), "",
+  { "/" 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                        
        },
@@ -740,7 +740,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 },

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11431) No shortcuts for un/load in GTK1, Christian Knoke <=