1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

invert the logic for the "show remaining time" checkbox in the global action popover

This commit is contained in:
Mitchell Livingston 2011-08-08 12:34:11 +00:00
parent 7ab2d316b2
commit f23b930f36
2 changed files with 22 additions and 17 deletions

View file

@ -3553,6 +3553,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
return [fWindow isVisible];
}
#warning remove when menu is removed
if (action == @selector(toggleStatusString:))
{
if ([fDefaults boolForKey: @"SmallView"])

View file

@ -857,22 +857,6 @@
</object>
<int key="connectionID">160</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: values.DisplaySmallStatusRegular</string>
<reference key="source" ref="293769057"/>
<reference key="destination" ref="355540060"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="293769057"/>
<reference key="NSDestination" ref="355540060"/>
<string key="NSLabel">value: values.DisplaySmallStatusRegular</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">values.DisplaySmallStatusRegular</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">163</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">hidden: values.SmallView</string>
@ -1037,6 +1021,26 @@
</object>
<int key="connectionID">192</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: values.DisplaySmallStatusRegular</string>
<reference key="source" ref="293769057"/>
<reference key="destination" ref="355540060"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="293769057"/>
<reference key="NSDestination" ref="355540060"/>
<string key="NSLabel">value: values.DisplaySmallStatusRegular</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">values.DisplaySmallStatusRegular</string>
<object class="NSDictionary" key="NSOptions">
<string key="NS.key.0">NSValueTransformerName</string>
<string key="NS.object.0">NSNegateBoolean</string>
</object>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">193</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@ -1457,7 +1461,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">192</int>
<int key="maxID">193</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">