tray icon added
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
(define (update-state st)
|
||||
(dbg-rktplayer "state: ~a" st)
|
||||
(unless (eq? st state)
|
||||
@@ -614,6 +614,19 @@
|
||||
)
|
||||
)
|
||||
|
||||
(define/public (show-hide)
|
||||
(let ((st (send this window-state)))
|
||||
(if (eq? st 'hidden)
|
||||
(send this present)
|
||||
(send this hide)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(define/override (can-close?)
|
||||
(show-hide)
|
||||
#f)
|
||||
|
||||
(begin
|
||||
(dbg-rktplayer "Initalizing gui")
|
||||
(dbg-rktplayer "ICON: ~a" (get-field icon this))
|
||||
|
||||
Reference in New Issue
Block a user