mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-07-05 14:09:25 +02:00
fix set icon after marge
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user