diff --git a/README.rst b/README.rst index b413bb6b..e0044866 100644 --- a/README.rst +++ b/README.rst @@ -210,6 +210,11 @@ Some elements from the ipfs-css_ repository (CSS files and fonts) are included. Some icons from the "Oxygen" icons set are included. +This software incudes icons made by the following FlatIcon authors: + +- `FreePik `_ +- `Pixel perfect `_ + Some of the beautiful artwork (under the Creative Commons CC-BY-SA license) from the ipfs-logo_ project's repository is included, unchanged. diff --git a/galacteek/ui/torrentgui.py b/galacteek/ui/torrentgui.py index 706886be..f0763cbb 100755 --- a/galacteek/ui/torrentgui.py +++ b/galacteek/ui/torrentgui.py @@ -724,7 +724,10 @@ def _add_magnet_triggered(self, *a): text=clipText if isMagnetLink(clipText) else '' ) - ensure(self.add_from_magnet(magnetLink)) + if isMagnetLink(magnetLink): + ensure(self.add_from_magnet(magnetLink)) + else: + messageBox('Invalid magnet link') async def add_from_magnet(self, magnetLink): filename, tData = await self.magnetConverter.toTorrentData(magnetLink) diff --git a/share/icons/mimetypes/application-x-bittorrent.png b/share/icons/mimetypes/application-x-bittorrent.png deleted file mode 120000 index fc72740b..00000000 --- a/share/icons/mimetypes/application-x-bittorrent.png +++ /dev/null @@ -1 +0,0 @@ -../torrent.png \ No newline at end of file diff --git a/share/icons/mimetypes/application-x-bittorrent.png b/share/icons/mimetypes/application-x-bittorrent.png new file mode 100644 index 00000000..c958322b Binary files /dev/null and b/share/icons/mimetypes/application-x-bittorrent.png differ diff --git a/share/icons/torrent.png b/share/icons/torrent.png index a0fd6f7f..62793034 100644 Binary files a/share/icons/torrent.png and b/share/icons/torrent.png differ