Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
cog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
If you have an issue with any of our projects. feel free to register.
Open sidebar
Christopher Snowhill
cog
Commits
bd4e64c0
Commit
bd4e64c0
authored
Dec 26, 2020
by
Dmitry Nevedomsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not show iTunes Style option with UserNotification.
parent
05f66d40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
Preferences/General/Base.lproj/Preferences.xib
Preferences/General/Base.lproj/Preferences.xib
+5
-4
Preferences/General/GeneralPreferencesPlugin.h
Preferences/General/GeneralPreferencesPlugin.h
+2
-0
Preferences/General/GeneralPreferencesPlugin.m
Preferences/General/GeneralPreferencesPlugin.m
+9
-0
No files found.
Preferences/General/Base.lproj/Preferences.xib
View file @
bd4e64c0
...
...
@@ -11,6 +11,7 @@
<outlet
property=
"appearanceView"
destination=
"CgN-sy-RmM"
id=
"wvB-aW-Gfx"
/>
<outlet
property=
"growlView"
destination=
"U4w-jw-ca5"
id=
"IUJ-gB-jwT"
/>
<outlet
property=
"hotKeyPane"
destination=
"6"
id=
"14"
/>
<outlet
property=
"iTunesStyleCheck"
destination=
"AIz-WH-Wqk"
id=
"2n1-pY-cZR"
/>
<outlet
property=
"midiPane"
destination=
"i5B-ga-Atm"
id=
"rbe-uK-5n2"
/>
<outlet
property=
"outputPane"
destination=
"57"
id=
"75"
/>
<outlet
property=
"playlistView"
destination=
"231"
id=
"244"
/>
...
...
@@ -400,12 +401,12 @@
<point
key=
"canvasLocation"
x=
"-78"
y=
"-31.5"
/>
</customView>
<customView
id=
"U4w-jw-ca5"
userLabel=
"GrowlView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"500"
height=
"
11
4"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"500"
height=
"
9
4"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<button
fixedFrame=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"njn-Xl-9k9"
>
<rect
key=
"frame"
x=
"18"
y=
"
7
8"
width=
"158"
height=
"18"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<rect
key=
"frame"
x=
"18"
y=
"
5
8"
width=
"158"
height=
"18"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
/>
<buttonCell
key=
"cell"
type=
"check"
title=
"Enable notifications"
bezelStyle=
"regularSquare"
imagePosition=
"left"
alignment=
"left"
inset=
"2"
id=
"hqT-nY-NoU"
>
<behavior
key=
"behavior"
changeContents=
"YES"
doesNotDimImage=
"YES"
lightByContents=
"YES"
/>
<font
key=
"font"
metaFont=
"system"
/>
...
...
@@ -415,7 +416,7 @@
</connections>
</button>
<button
fixedFrame=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AIz-WH-Wqk"
>
<rect
key=
"frame"
x=
"18"
y=
"
5
8"
width=
"131"
height=
"18"
/>
<rect
key=
"frame"
x=
"18"
y=
"
1
8"
width=
"131"
height=
"18"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
/>
<buttonCell
key=
"cell"
type=
"check"
title=
"Use iTunes style"
bezelStyle=
"regularSquare"
imagePosition=
"left"
state=
"on"
inset=
"2"
id=
"cOb-hQ-7K8"
>
<behavior
key=
"behavior"
changeContents=
"YES"
doesNotDimImage=
"YES"
lightByContents=
"YES"
/>
...
...
Preferences/General/GeneralPreferencesPlugin.h
View file @
bd4e64c0
...
...
@@ -25,6 +25,8 @@
IBOutlet
NSView
*
growlView
;
IBOutlet
NSView
*
appearanceView
;
IBOutlet
NSView
*
midiView
;
__weak
IBOutlet
NSButton
*
iTunesStyleCheck
;
}
-
(
HotKeyPane
*
)
hotKeyPane
;
...
...
Preferences/General/GeneralPreferencesPlugin.m
View file @
bd4e64c0
...
...
@@ -71,6 +71,15 @@
-
(
GeneralPreferencePane
*
)
growlPane
{
if
(
@available
(
macOS
10
.
14
,
*
))
{
if
(
iTunesStyleCheck
)
{
iTunesStyleCheck
.
hidden
=
YES
;
NSSize
size
=
growlView
.
frame
.
size
;
size
.
height
-=
18
;
[
growlView
setFrameSize
:
size
];
}
}
return
[
GeneralPreferencePane
preferencePaneWithView
:
growlView
title
:
NSLocalizedStringFromTableInBundle
(
@"Growl"
,
nil
,
[
NSBundle
bundleForClass
:[
self
class
]],
@""
)
iconNamed
:
@"growl"
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment