""" This file defines the menu contents and key bindings. """ # Copyright (C) 2004 Henning Jacobs # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # $Id: Bindings.py 90 2004-09-11 19:08:25Z henning $ import sys import string from keydefs import * menudefs = [ # underscore prefixes character to underscore ('file', [ ('C_onnect...', '<>'), ('_Disconnect', '<>'), None, ('_Import...', '<>'), ('_Export...', '<>'), None, ('Page _View', '<>'), None, ('_Close', '<>'), ]), ('contact', [ ('Create _New Contact', '<>'), ('_Delete Contact', '<>'), ('_Save Contact', '<>'), None, ('D_uplicate Contact', '<>'), ('_Export Contact', '<>'), ]), ('query', [ ('_Find Contact...', '<>'), ('Find _Next', '<>'), None, ('_Birthdays', '<>') ]), ('view', [ ('_Journal', '<>'), ('_Calendar', '<>'), ('_Letter Composer', '<>') ]), ('settings', [ ('_Edit Preferences', '<>') ]), ('help', [ ('_Help...', '<>'), None, ('_About PyCoCuMa...', '<>'), ]), ] if sys.platform == 'win32': default_keydefs = windows_keydefs else: default_keydefs = unix_keydefs del sys