From: Mitchell Livingston Date: Sun, 20 Feb 2011 00:33:49 +0000 (+0000) Subject: change the status bar's left menu to be within the button (in the xib) X-Git-Tag: 2.30b1~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a41e93c5064e9ad09fe25701e5ab1615be06951c;p=transmission change the status bar's left menu to be within the button (in the xib) --- diff --git a/macosx/Controller.m b/macosx/Controller.m index 5157632a9..f1cce9319 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -107,7 +107,6 @@ typedef enum SORT_DESC_TAG = 1 } sortOrderTag; - #define FILTER_NONE @"None" #define FILTER_ACTIVE @"Active" #define FILTER_DOWNLOAD @"Download" diff --git a/macosx/StatusBar.xib b/macosx/StatusBar.xib index 1bd06622b..fb2aa4d7d 100644 --- a/macosx/StatusBar.xib +++ b/macosx/StatusBar.xib @@ -175,23 +175,27 @@ 400 75 - + YES - Ratio: 999.9 + status menu 1048576 2147483647 - 1 - + + NSImage + YingYangTemplate + + NSImage NSMenuCheckmark - + NSImage NSMenuMixedState _popUpItemAction: + -1 YES @@ -199,27 +203,52 @@ OtherViews YES - - + + - Item 2 + Total Ratio 1048576 2147483647 - - + + _popUpItemAction: - + - Item 3 + Session Ratio 1048576 2147483647 - - + + _popUpItemAction: + 1 + + + + + Total Transfer + + 1048576 + 2147483647 + + + _popUpItemAction: + 2 + + + + + Session Transfer + + 1048576 + 2147483647 + + + _popUpItemAction: + 3 @@ -236,65 +265,6 @@ StatusBarView NSView - - StatusMenu - - YES - - - - - 1048576 - 2147483647 - - NSImage - YingYangTemplate - - - - -1 - - - - Total Ratio - - 1048576 - 2147483647 - - - - - - Session Ratio - - 1048576 - 2147483647 - - - 1 - - - - Total Transfer - - 1048576 - 2147483647 - - - 2 - - - - Session Transfer - - 1048576 - 2147483647 - - - 3 - - - @@ -339,45 +309,37 @@ 21 - - - menu - - - - 28 - setStatusLabel: - + - 29 + 38 setStatusLabel: - + - 30 + 39 setStatusLabel: - + - 31 + 40 setStatusLabel: - + - 32 + 41 @@ -414,10 +376,10 @@ YES - + @@ -502,65 +464,38 @@ YES - - - + + + + + - 14 - + 33 + - 15 - + 34 + - 16 - + 35 + - 22 - - - YES - - - - - - - - StatusMenu - - - 23 - - - - - 24 - - - - - 25 - - - - - 26 - - + 36 + + - 27 - - + 37 + + @@ -575,31 +510,23 @@ 13.IBEditorWindowLastContentRect 13.IBPluginDependency 13.ImportedFromIB2 - 14.IBPluginDependency - 14.ImportedFromIB2 - 15.IBPluginDependency - 15.ImportedFromIB2 - 16.IBPluginDependency - 16.ImportedFromIB2 2.IBEditorWindowLastContentRect 2.IBPluginDependency 2.ImportedFromIB2 2.editorWindowContentRectSynchronizationRect - 22.IBEditorWindowLastContentRect - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 24.IBPluginDependency - 24.ImportedFromIB2 - 25.IBPluginDependency - 25.ImportedFromIB2 - 26.IBPluginDependency - 26.ImportedFromIB2 - 27.IBPluginDependency - 27.ImportedFromIB2 3.IBPluginDependency + 3.IBViewBoundsToFrameTransform 3.ImportedFromIB2 + 33.IBPluginDependency + 33.ImportedFromIB2 + 34.IBPluginDependency + 34.ImportedFromIB2 + 35.IBPluginDependency + 35.ImportedFromIB2 + 36.IBPluginDependency + 36.ImportedFromIB2 + 37.IBPluginDependency + 37.ImportedFromIB2 4.IBPluginDependency 4.ImportedFromIB2 5.IBPluginDependency @@ -617,23 +544,17 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{202, 773}, {126, 54}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - + {{202, 739}, {149, 88}} com.apple.InterfaceBuilder.CocoaPlugin {{208, 808}, {400, 21}} com.apple.InterfaceBuilder.CocoaPlugin {{0, 974}, {400, 21}} - {{0, 892}, {179, 103}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABAoAAAwYgAAA + com.apple.InterfaceBuilder.CocoaPlugin @@ -673,7 +594,7 @@ - 32 + 41