VirtualBox

Ignore:
Timestamp:
Jul 16, 2010 10:07:21 AM (15 years ago)
Author:
vboxsync
Message:

Main: event names now in past tense

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r30828 r30871  
    299299         type = ev.type
    300300         print "got event: %s %s" %(str(type), asEnumElem(ctx, 'VBoxEventType', type))
    301          if type == ctx['global'].constants.VBoxEventType_OnMachineStateChange:
     301         if type == ctx['global'].constants.VBoxEventType_OnMachineStateChanged:
    302302             scev = ctx['global'].queryInterface(ev, 'IMachineStateChangedEvent')
    303303             if scev:
    304304                 print "machine state event: mach=%s state=%s" %(scev.machineId, scev.state)
    305          elif  type == ctx['global'].constants.VBoxEventType_OnGuestPropertyChange:
     305         elif  type == ctx['global'].constants.VBoxEventType_OnGuestPropertyChanged:
    306306             gpcev = ctx['global'].queryInterface(ev, 'IGuestPropertyChangedEvent')
    307307             if gpcev:
    308308                 print "guest property change: name=%s value=%s" %(gpcev.name, gpcev.value)
    309          elif  type == ctx['global'].constants.VBoxEventType_OnMousePointerShapeChange:
     309         elif  type == ctx['global'].constants.VBoxEventType_OnMousePointerShapeChanged:
    310310             psev = ctx['global'].queryInterface(ev, 'IMousePointerShapeChangedEvent')
    311311             if psev:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette