mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 11:37:32 +03:00
GH-666 Remove ignore setIcon event
- Yet merging neovim
This commit is contained in:
parent
e7aba4ca8a
commit
3f7d29fcc0
@ -334,10 +334,6 @@ extension NvimView {
|
||||
func suspend() {
|
||||
self.bridgeLogger.mark()
|
||||
}
|
||||
|
||||
func set(icon: String) {
|
||||
self.bridgeLogger.debug(icon)
|
||||
}
|
||||
}
|
||||
|
||||
extension NvimView {
|
||||
|
@ -278,9 +278,6 @@ public class NvimView: NSView,
|
||||
case let .setTitle(title):
|
||||
self.set(title: title)
|
||||
|
||||
case let .setIcon(icon):
|
||||
self.set(icon: icon)
|
||||
|
||||
case .stop:
|
||||
self.stop()
|
||||
|
||||
|
@ -33,7 +33,6 @@ class UiBridge {
|
||||
case setBackground(Int)
|
||||
case setSpecial(Int)
|
||||
case setTitle(String)
|
||||
case setIcon(String)
|
||||
case stop
|
||||
case dirtyStatusChanged(Bool)
|
||||
case cwdChanged(String)
|
||||
@ -277,13 +276,6 @@ class UiBridge {
|
||||
|
||||
self.streamSubject.onNext(.setTitle(title))
|
||||
|
||||
case .setIcon:
|
||||
guard let icon = value(from: data, conversion: { $0.stringValue }) else {
|
||||
return
|
||||
}
|
||||
|
||||
self.streamSubject.onNext(.setIcon(icon))
|
||||
|
||||
case .stop:
|
||||
self.streamSubject.onNext(.stop)
|
||||
|
||||
|
@ -78,7 +78,6 @@ typedef NS_ENUM(NSInteger, NvimServerMsgId) {
|
||||
NvimServerMsgIdSetBackground,
|
||||
NvimServerMsgIdSetSpecial,
|
||||
NvimServerMsgIdSetTitle,
|
||||
NvimServerMsgIdSetIcon,
|
||||
NvimServerMsgIdStop,
|
||||
NvimServerMsgIdOptionSet,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user