From: Rudolf Polzer Date: Wed, 29 Dec 2010 16:50:08 +0000 (+0100) Subject: give ViewFront/ViewSide/ViewTop default shortcuts X-Git-Tag: xonotic-v0.5.0~76 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=c8524834a71871620f567d9e49bf13cf13bf5f6e give ViewFront/ViewSide/ViewTop default shortcuts --- diff --git a/radiant/xywindow.cpp b/radiant/xywindow.cpp index ff7852e7..7352b386 100644 --- a/radiant/xywindow.cpp +++ b/radiant/xywindow.cpp @@ -2965,9 +2965,9 @@ void XYWindow_Construct() GlobalCommands_insert("NextView", FreeCaller(), Accelerator(GDK_Tab, (GdkModifierType)GDK_CONTROL_MASK)); GlobalCommands_insert("ZoomIn", FreeCaller(), Accelerator(GDK_Delete)); GlobalCommands_insert("ZoomOut", FreeCaller(), Accelerator(GDK_Insert)); - GlobalCommands_insert("ViewTop", FreeCaller()); - GlobalCommands_insert("ViewSide", FreeCaller()); - GlobalCommands_insert("ViewFront", FreeCaller()); + GlobalCommands_insert("ViewTop", FreeCaller(), Accelerator(GDK_KP_Home)); + GlobalCommands_insert("ViewSide", FreeCaller(), Accelerator(GDK_KP_Page_Down)); + GlobalCommands_insert("ViewFront", FreeCaller(), Accelerator(GDK_KP_End)); GlobalCommands_insert("Zoom100", FreeCaller()); GlobalCommands_insert("CenterXYView", FreeCaller(), Accelerator(GDK_Tab, (GdkModifierType)(GDK_SHIFT_MASK|GDK_CONTROL_MASK)));