import fix

This commit is contained in:
Dmitriy Yefremov
2017-12-15 14:43:42 +03:00
parent d7b9aa3766
commit 8a57d2b2e3

View File

@@ -1,7 +1,7 @@
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gtk, Gdk
theme = Gtk.IconTheme.get_default()
_IMAGE_MISSING = theme.load_icon("image-missing", 16, 0) if theme.lookup_icon("image-missing", 16, 0) else None