From: Mitchell Livingston Date: Sat, 12 Feb 2011 05:01:31 +0000 (+0000) Subject: change the add/remove tracker buttons in the inspector to the rounded rect style... X-Git-Tag: 2.30b1~375 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa5de2a9017757ce416df1296cbb14e75c3df89;p=transmission change the add/remove tracker buttons in the inspector to the rounded rect style, and add tooltips --- diff --git a/macosx/InfoTrackersView.xib b/macosx/InfoTrackersView.xib index accf28703..51af6fa10 100644 --- a/macosx/InfoTrackersView.xib +++ b/macosx/InfoTrackersView.xib @@ -12,7 +12,7 @@ YES - + YES @@ -51,7 +51,7 @@ 256 - {360, 315} + {360, 318} YES @@ -144,7 +144,7 @@ 0 - {{1, 1}, {360, 315}} + {{1, 1}, {360, 318}} @@ -173,7 +173,7 @@ 0.99731899999999996 - {{10, 30}, {362, 317}} + {{10, 27}, {362, 320}} 530 @@ -185,7 +185,7 @@ 292 - {{10, 9}, {67, 19}} + {{8, 8}, {71, 18}} YES @@ -220,7 +220,7 @@ 2 - 6 + 3 @@ -396,6 +396,9 @@ 2.editorWindowContentRectSynchronizationRect 3.IBPluginDependency 4.IBPluginDependency + 4.IBSegmentedControlTracker.RoundRobinState + 4.IBSegmentedControlTracker.WasGrowing + 4.IBViewBoundsToFrameTransform 5.IBPluginDependency 6.CustomClassName 6.IBPluginDependency @@ -407,12 +410,17 @@ YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{315, 335}, {382, 352}} + {{319, 548}, {382, 352}} com.apple.InterfaceBuilder.CocoaPlugin {{476, 437}, {380, 275}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + + + P4AAAL+AAABBAAAAwdAAAA + com.apple.InterfaceBuilder.CocoaPlugin TrackerTableView com.apple.InterfaceBuilder.CocoaPlugin diff --git a/macosx/InfoTrackersViewController.m b/macosx/InfoTrackersViewController.m index 843b200bb..2b70d9dc0 100644 --- a/macosx/InfoTrackersViewController.m +++ b/macosx/InfoTrackersViewController.m @@ -60,6 +60,11 @@ - (void) awakeFromNib { + [[fTrackerAddRemoveControl cell] setToolTip: NSLocalizedString(@"Add a tracker", "Inspector view -> tracker buttons") + forSegment: TRACKER_ADD_TAG]; + [[fTrackerAddRemoveControl cell] setToolTip: NSLocalizedString(@"Remove selected trackers", "Inspector view -> tracker buttons") + forSegment: TRACKER_REMOVE_TAG]; + const CGFloat height = [[NSUserDefaults standardUserDefaults] floatForKey: @"InspectorContentHeightTracker"]; if (height != 0.0) {