# HG changeset patch # User Michael Schloh von Bennewitz # Date 1248861460 -7200 # Node ID 07bbe272a9be81ceb2fc32656f2dbce3858b861f # Parent 0c0e4024a98ed1ce1a9281fba167bf7490d2760e Correctly create menu bar status items in 64- as well as 32-bit targets. It is unclear why the hack to include a priority and a hack on top of that to determine the correct platform-dependent priority is desired. diff -r 0c0e4024a98e -r 07bbe272a9be tunblick/MenuController.m --- a/tunblick/MenuController.m Wed Jul 29 11:52:41 2009 +0200 +++ b/tunblick/MenuController.m Wed Jul 29 11:57:40 2009 +0200 @@ -53,7 +53,7 @@ } if (!theItem) { - theItem = [[bar _statusItemWithLength: NSVariableStatusItemLength withPriority: priority] retain]; + theItem = [[bar statusItemWithLength: NSVariableStatusItemLength] retain]; //theItem = [[bar _statusItemWithLength: NSVariableStatusItemLength withPriority: 0] retain]; } // Dirk: For Tiger and up, re-insert item to place it correctly.