Ignore:
Timestamp:
01/29/06 22:59:56 (15 years ago)
Author:
Nicholas Riley
Message:

setup.py: use HotKey? module (shared with LocationDo?) instead of
_StreamVision module

HotKeymodule?.c: the aforementioned module

StreamVision?.py: use HotKey? module instead of _StreamVision module.
Fix StreamVision?.displayTrackInfo to not crash when iTunes jealously
hides the names of iTMS tracks from us. Switch track rating keys to
shift-F10/F11 to avoid conflicting with my preferred Expose/Dashboard?
key bindings on my iBook.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/StreamVision/HotKeymodule.c

    r193 r211  
    1313
    1414static PyObject
    15 *StreamVision_HotKeyAddress(PyObject *self, PyObject *args) {
     15*HotKey_HotKeyAddress(PyObject *self, PyObject *args) {
    1616  PyObject *v;
    1717  if (!PyArg_ParseTuple(args, "O", &v))
     
    2424}
    2525
    26 static PyMethodDef _StreamVisionmodule_methods[] = {
    27   {"HotKeyAddress", StreamVision_HotKeyAddress, METH_VARARGS,
     26static PyMethodDef HotKeymodule_methods[] = {
     27  {"HotKeyAddress", HotKey_HotKeyAddress, METH_VARARGS,
    2828   "HotKeyAddress(_CarbonEvt.EventHotKeyRef) -> integer\n\n"
    2929   "Return the address of the underlying EventHotKeyRef (passed as data1 in hot key NSEvents)."},
     
    3232
    3333PyMODINIT_FUNC
    34 init_StreamVision(void) {
    35   (void)Py_InitModule("_StreamVision", _StreamVisionmodule_methods);
     34initHotKey(void) {
     35  (void)Py_InitModule("HotKey", HotKeymodule_methods);
    3636}
Note: See TracChangeset for help on using the changeset viewer.