Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Sublime Music
Sublime Music
Commits
96ee4dc3
Verified
Commit
96ee4dc3
authored
Feb 20, 2020
by
Sumner Evans
💬
Browse files
Fixed regression from previous commit
parent
4934c380
Pipeline
#119768903
passed with stages
in 11 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
sublime/ui/player_controls.py
sublime/ui/player_controls.py
+5
-0
No files found.
sublime/ui/player_controls.py
View file @
96ee4dc3
...
...
@@ -59,6 +59,7 @@ class PlayerControls(Gtk.ActionBar):
chromecasts
:
List
[
ChromecastPlayer
]
=
[]
cover_art_update_order_token
=
0
play_queue_update_order_token
=
0
devices_requested
=
False
def
__init__
(
self
):
Gtk
.
ActionBar
.
__init__
(
self
)
...
...
@@ -151,6 +152,9 @@ class PlayerControls(Gtk.ActionBar):
self
.
album_name
.
set_markup
(
''
)
self
.
artist_name
.
set_markup
(
''
)
if
self
.
devices_requested
:
self
.
update_device_list
()
# Set the Play Queue button popup.
if
hasattr
(
state
,
'play_queue'
):
play_queue_len
=
len
(
state
.
play_queue
)
...
...
@@ -359,6 +363,7 @@ class PlayerControls(Gtk.ActionBar):
chromecast_callback
(
self
.
chromecasts
)
def
on_device_click
(
self
,
button
):
self
.
devices_requested
=
True
if
self
.
device_popover
.
is_visible
():
self
.
device_popover
.
popdown
()
else
:
...
...
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