Fixed xdg import logic

This commit is contained in:
itdominator 2021-04-24 18:08:46 -05:00
parent ec0826a072
commit 0bfdaa1930
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ gi.require_version('Gdk', '3.0')
from gi.repository import Gtk
from gi.repository import Gio
from .utils.xdg.DesktopEntry import DesktopEntry
from .utils import xdg
# Application imports
@ -74,7 +74,7 @@ class Icon:
def parse_desktop_files(self, full_path):
try:
xdgObj = DesktopEntry(full_path)
xdgObj = xdg.DesktopEntry(full_path)
icon = xdgObj.getIcon()
alt_icon_path = ""