1
1
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:
Tae Won Ha 2018-08-02 10:23:01 +02:00
parent e7aba4ca8a
commit 3f7d29fcc0
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
4 changed files with 0 additions and 16 deletions

View File

@ -334,10 +334,6 @@ extension NvimView {
func suspend() {
self.bridgeLogger.mark()
}
func set(icon: String) {
self.bridgeLogger.debug(icon)
}
}
extension NvimView {

View File

@ -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()

View File

@ -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)

View File

@ -78,7 +78,6 @@ typedef NS_ENUM(NSInteger, NvimServerMsgId) {
NvimServerMsgIdSetBackground,
NvimServerMsgIdSetSpecial,
NvimServerMsgIdSetTitle,
NvimServerMsgIdSetIcon,
NvimServerMsgIdStop,
NvimServerMsgIdOptionSet,