Skip to content

Commit fc79211

Browse files
committed
rename banner and icon
1 parent 277352c commit fc79211

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pypeec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
__version__ = "x.x.x"
1616

1717
# get the banner text
18-
filename = importlib.resources.files("pypeec.data").joinpath("pypeec.txt")
18+
filename = importlib.resources.files("pypeec.data").joinpath("banner.txt")
1919
with filename.open("r", encoding="utf-8") as fid:
2020
__banner__ = fid.read()
2121

File renamed without changes.
File renamed without changes.

pypeec/lib_plot/manage_plotgui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(self, plot_mode, path, name):
8989
APPQT.setOrganizationName("pypeec")
9090

9191
# set the icon
92-
filename = importlib.resources.files("pypeec.data").joinpath("pypeec.png")
92+
filename = importlib.resources.files("pypeec.data").joinpath("icon.png")
9393
res_icon = qtpy.QtGui.QIcon(str(filename))
9494
APPQT.setWindowIcon(res_icon)
9595

@@ -129,7 +129,7 @@ def _get_plotter_pyvista_qt(title, show_menu, window_size):
129129
window_size=window_size,
130130
)
131131
# set icon
132-
filename = importlib.resources.files("pypeec.data").joinpath("pypeec.png")
132+
filename = importlib.resources.files("pypeec.data").joinpath("icon.png")
133133
pl.set_icon(str(filename))
134134

135135
return pl
@@ -174,7 +174,7 @@ def _get_figure_matplotlib_qt(title, show_menu, window_size):
174174
import qtpy.QtGui
175175

176176
# get the icon
177-
filename = importlib.resources.files("pypeec.data").joinpath("pypeec.png")
177+
filename = importlib.resources.files("pypeec.data").joinpath("icon.png")
178178
res_icon = qtpy.QtGui.QIcon(str(filename))
179179

180180
# get the figure

0 commit comments

Comments
 (0)