30 lines
856 B
Diff
30 lines
856 B
Diff
|
From 908c6d73ed340dfba5da5de888e868aa9b211179 Mon Sep 17 00:00:00 2001
|
||
|
From: Sambhav Kothari <sambhavs.email@gmail.com>
|
||
|
Date: Sun, 22 Jan 2017 18:49:48 +0530
|
||
|
Subject: [PATCH 2/9] Connect events for CoverArtThumbnail class
|
||
|
|
||
|
---
|
||
|
picard/ui/coverartbox.py | 6 ++++++
|
||
|
1 file changed, 6 insertions(+)
|
||
|
|
||
|
diff --git a/picard/ui/coverartbox.py b/picard/ui/coverartbox.py
|
||
|
index a2ca057f..b7e4b21c 100644
|
||
|
--- a/picard/ui/coverartbox.py
|
||
|
+++ b/picard/ui/coverartbox.py
|
||
|
@@ -130,6 +130,12 @@ class CoverArtThumbnail(ActiveLabel):
|
||
|
self.setToolTip("")
|
||
|
self.release = release
|
||
|
|
||
|
+ def open_release_page(self):
|
||
|
+ lookup = self.tagger.get_file_lookup()
|
||
|
+ lookup.albumLookup(self.release)
|
||
|
+
|
||
|
+ def fetch_remote_image(self, url):
|
||
|
+ return self.parent().fetch_remote_image(url)
|
||
|
|
||
|
|
||
|
class CoverArtBox(QtGui.QGroupBox):
|
||
|
--
|
||
|
2.11.0
|
||
|
|