Resolves #16: added tooltips to all of the buttons

This commit is contained in:
Sumner Evans
2020-03-18 22:59:19 -06:00
parent 008821d988
commit fa58933f19
8 changed files with 69 additions and 26 deletions

View File

@@ -76,26 +76,41 @@ class AlbumWithSongs(Gtk.Box):
))
self.play_btn = IconButton(
'media-playback-start-symbolic', sensitive=False)
'media-playback-start-symbolic',
'Play all songs in this album',
sensitive=False,
)
self.play_btn.connect('clicked', self.play_btn_clicked)
album_title_and_buttons.pack_start(self.play_btn, False, False, 5)
self.shuffle_btn = IconButton(
'media-playlist-shuffle-symbolic', sensitive=False)
'media-playlist-shuffle-symbolic',
'Shuffle all songs in this album',
sensitive=False,
)
self.shuffle_btn.connect('clicked', self.shuffle_btn_clicked)
album_title_and_buttons.pack_start(self.shuffle_btn, False, False, 5)
self.play_next_btn = IconButton(
'go-top-symbolic', action_name='app.play-next')
'go-top-symbolic',
'Play all of the songs in this album next',
action_name='app.play-next',
)
album_title_and_buttons.pack_start(self.play_next_btn, False, False, 5)
self.add_to_queue_btn = IconButton(
'go-jump-symbolic', action_name='app.add-to-queue')
'go-jump-symbolic',
'Add all the songs in this album to the end of the play queue',
action_name='app.add-to-queue',
)
album_title_and_buttons.pack_start(
self.add_to_queue_btn, False, False, 5)
self.download_all_btn = IconButton(
'folder-download-symbolic', sensitive=False)
'folder-download-symbolic',
'Download all songs in this album',
sensitive=False,
)
self.download_all_btn.connect('clicked', self.on_download_all_click)
album_title_and_buttons.pack_end(
self.download_all_btn, False, False, 5)