src/eric7/UI/PixmapCache.py

Mon, 07 Nov 2022 17:19:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Nov 2022 17:19:58 +0100
branch
eric7
changeset 9482
a2bc06a54d9d
parent 9413
80c06d472826
child 9653
e67609152c5e
permissions
-rw-r--r--

Corrected/acknowledged some bad import style and removed some obsolete code.

# -*- coding: utf-8 -*-

# Copyright (c) 2022 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing a compatibility interface of the EricPixmapCache functionality to
satisfy old plug-ins.
"""

from eric7.EricGui import EricPixmapCache

getPixmap = EricPixmapCache.getPixmap
getIcon = EricPixmapCache.getIcon
getSymlinkIcon = EricPixmapCache.getSymlinkIcon
getCombinedIcon = EricPixmapCache.getCombinedIcon
addSearchPath = EricPixmapCache.addSearchPath
removeSearchPath = EricPixmapCache.removeSearchPath

# TODO: remove this module with release 23.4

eric ide

mercurial