removed tooltips in ArtistPopover

This commit is contained in:
Martin Wagner 2021-04-25 19:40:43 +02:00
parent 113d07a70a
commit 7cd76f34bb

View File

@ -1776,13 +1776,12 @@ class ArtistPopover(Gtk.Popover):
# buttons # buttons
vbox=Gtk.ButtonBox(orientation=Gtk.Orientation.VERTICAL, border_width=9) vbox=Gtk.ButtonBox(orientation=Gtk.Orientation.VERTICAL, border_width=9)
data=((_("Append"), _("Add all titles to playlist"), "list-add-symbolic", "append"), data=((_("Append"), "list-add-symbolic", "append"),
(_("Play"), _("Directly play all titles"), "media-playback-start-symbolic", "play"), (_("Play"), "media-playback-start-symbolic", "play"),
(_("Enqueue"), _("Append all titles after the currently playing track and clear the playlist from all other songs"), (_("Enqueue"), "insert-object-symbolic", "enqueue")
"insert-object-symbolic", "enqueue")
) )
for label, tooltip, icon, mode in data: for label, icon, mode in data:
button=Gtk.ModelButton(label=label, tooltip_text=tooltip, image=Gtk.Image.new_from_icon_name(icon, Gtk.IconSize.BUTTON)) button=Gtk.ModelButton(label=label, image=Gtk.Image.new_from_icon_name(icon, Gtk.IconSize.BUTTON))
button.get_child().set_property("xalign", 0) button.get_child().set_property("xalign", 0)
button.connect("clicked", self._on_button_clicked, mode) button.connect("clicked", self._on_button_clicked, mode)
vbox.pack_start(button, True, True, 0) vbox.pack_start(button, True, True, 0)