# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is Mozilla.org Code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 2001 # the Initial Developer. All Rights Reserved. # # Contributor(s): # Ben Goodger (v2.0) # Blake Ross # Shawn Wilsher # Ehsan Akhgari # # Alternatively, the contents of this file may be used under the terms of # either the GNU General Public License Version 2 or later (the "GPL"), or # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), # in which case the provisions of the GPL or the LGPL are applicable instead # of those above. If you wish to allow use of your version of this file only # under the terms of either the GPL or the LGPL, and not to allow others to # use your version of this file under the terms of the MPL, indicate your # decision by deleting the provisions above and replace them with the notice # and other provisions required by the GPL or the LGPL. If you do not delete # the provisions above, a recipient may use your version of this file under # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** #ifdef XP_UNIX #ifndef XP_MACOSX #define XP_GNOME 1 #endif #endif #ifndef XP_MACOSX #endif # # Search Command Key Logic works like this: # # Unix: Ctrl+K (cross platform binding) # Ctrl+J (in case of emacs Ctrl-K conflict) # Mac: Ctrl+K (cross platform binding) # Win: Ctrl+K (cross platform binding) # Ctrl+E (IE compat) # # We support Ctrl+K on all platforms now and advertise it in the menu since it is # our standard - it is a "safe" choice since it is near no harmful keys like "W" as # "E" is. People mourning the loss of Ctrl+K for emacs compat can switch their GTK # system setting to use emacs emulation, and we should respect it. Focus-Search-Box # is a fundamental keybinding and we are maintaining a XP binding so that it is easy # for people to switch to Linux. # # Do *not* tamper with these values without talking to ben@mozilla.org # #ifdef XP_MACOSX #endif #ifdef XP_WIN #endif #ifdef XP_GNOME #else #endif #ifdef XP_UNIX #else #endif #ifndef XP_MACOSX #else #endif #ifdef XP_UNIX #endif #ifndef XP_MACOSX #endif #ifndef XP_WIN #endif # Accel+Shift+A-F are reserved on GTK2 #ifndef MOZ_WIDGET_GTK2 #endif #ifdef XP_WIN # Cmd+I is conventially mapped to Info on MacOS X, thus it should not be # overridden for other purposes there. #endif # don't use |command="Browser:Stop"|, ESC is being used to freeze animated gifs, # even if the stop button and menuitem are disabled (see Bug 284140) #ifdef XP_MACOSX #endif #ifdef XP_MACOSX #endif #ifdef XP_UNIX #endif # Used by baseMenuOverlay #ifdef XP_MACOSX #endif