Changeset 7555


Ignore:
Timestamp:
Oct 31, 2007, 2:32:40 AM (14 years ago)
Author:
rme
Message:

Use a better toolbar identifier; release the toolbar after adding it
to the window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/cocoa-ide/processes-window.lisp

    r7477 r7555  
    1414  (with-slots (toolbar table-view) self
    1515    (#/setDoubleAction: table-view (@selector #/inspectSelectedProcess:))
    16     (setf toolbar (make-instance 'ns:ns-toolbar :with-identifier #@"toolbar"))
     16    (setf toolbar (make-instance 'ns:ns-toolbar
     17                                 :with-identifier #@"processes-window-toolbar"))
    1718    (#/setDisplayMode: toolbar #$NSToolbarDisplayModeLabelOnly)
    1819    (#/setDelegate: toolbar self)
    19     (#/setToolbar: (#/window self) toolbar)))
     20    (#/setToolbar: (#/window self) toolbar)
     21    (#/release toolbar)))
    2022
    2123
Note: See TracChangeset for help on using the changeset viewer.