fix set icon after marge

This commit is contained in:
DYefremov
2019-11-26 18:46:57 +03:00
parent 6b86db4aa4
commit 44bf8b96ff

View File

@@ -2,7 +2,6 @@ from urllib.parse import urlparse
from gi.repository import GLib
from app.connections import HttpRequestType
from app.tools.yt import YouTube
from app.ui.iptv import get_yt_icon
from .uicommons import Gtk, UI_RESOURCES_PATH, TEXT_DOMAIN
@@ -62,7 +61,7 @@ class LinksTransmitter:
yield True
if yt_id:
self._url_entry.set_icon_from_pixbuf(Gtk.EntryIconPosition.SECONDARY, get_yt_icon("youtube", 32))
self._url_entry.set_icon_from_stock(Gtk.EntryIconPosition.SECONDARY, Gtk.STOCK_INFO)
links, title = YouTube.get_yt_link(yt_id)
yield True
if links: