Skip to content

Commit 012aa6b

Browse files
aaronayres35Poruri Sai Rahulkitchoi
authored
Backports for 7.2.0 and update changelog (#838)
* CLN : Remove commented out/dead code (#833) * Update image license files (#818) * DEV : Add CC-BY-3.0 license file and include it in the pyface distribution new file: LICENSE-CC-BY-3.0.txt modified: MANIFEST.in * DEV : Move license content to main image license file and delete the now redundant license file deleted: examples/application/python_editor/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : Move more license information to top level image license file deleted: examples/application/python_shell/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : More more license info into image license file and remove the duplicate info file deleted: examples/data_view/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : More more license info into top level image license file deleted: examples/dock/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : More some more license info into top level license file deleted: examples/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : Move some more license info into top level image license file deleted: examples/tasks/advanced/images/image_LICENSE.txt modified: image_LICENSE.txt * DEV : Move more license info into top level image license file deleted: examples/tasks/basic/images/image_LICENSE.txt modified: image_LICENSE.txt * CLN : Remove redundant license file deleted: examples/workbench/images/image_LICENSE.txt * CLN : Remove outdated/redundant license file deleted: pyface/action/images/image_LICENSE.txt * CLN : Remove redundant/outdated image license file deleted: pyface/dock/images/image_LICENSE.txt * DEV : Move more license info to top level image license file modified: image_LICENSE.txt deleted: pyface/images/image_LICENSE.txt * DEV : More more license info to top level image license file modified: image_LICENSE.txt deleted: pyface/tests/images/image_LICENSE.txt * DEV : Move more license info to top level image license file modified: image_LICENSE.txt deleted: pyface/tree/images/image_LICENSE.txt * CLN : Remove another redundant/unnecessary image license file deleted: pyface/ui/qt4/images/image_LICENSE.txt * CLN : Remove unnecessary/redundant image license file deleted: pyface/ui/wx/grid/images/image_LICENSE.txt * DEV : More more license info to top level image license file modified: image_LICENSE.txt deleted: pyface/ui/wx/images/image_LICENSE.txt * CLN : Remove duplicate information modified: image_LICENSE.txt * CLN : Remove Enthought-licensed content from image license file modified: image_LICENSE.txt * Fix loading resource images from a module that is not a package (#836) * Fix loading resource files from a module that is not a package * Replace module name with just the module This is an optimization but is also safer: importlib_resources will resolve the module name back to the module. * Change IOError to OSError to be consistent Since Python 3.3, IOError is simply alias of OSError * update changelog with relevant backported PR * Revert "update changelog with relevant backported PR" This reverts commit 9b3cf77. Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com> Co-authored-by: Kit Choi <kitchoi@users.noreply.github.com>
1 parent 765b758 commit 012aa6b

File tree

22 files changed

+527
-351
lines changed

22 files changed

+527
-351
lines changed

LICENSE-CC-BY-3.0.txt

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include image_LICENSE.txt
22
include image_LICENSE_Eclipse.txt
33
include image_LICENSE_Nuvola.txt
44
include image_LICENSE_OOo.txt
5+
include LICENSE-CC-BY-3.0.txt
56
include LICENSE.txt
67
include README.rst
78
include MANIFEST.in

examples/application/python_editor/images/image_LICENSE.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/application/python_shell/images/image_LICENSE.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/data_view/images/image_LICENSE.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/dock/images/image_LICENSE.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/images/image_LICENSE.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/tasks/advanced/images/image_LICENSE.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/tasks/basic/images/image_LICENSE.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/workbench/images/image_LICENSE.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

image_LICENSE.txt

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,76 +5,84 @@ Project License File
55
----------------------------------------------------------------------------
66
Eclipse Eclipse Public License image_LICENSE_Eclipse.txt
77
Enthought BSD 3-Clause LICENSE.txt
8+
FamFamFam Flags Public Domain http://www.famfamfam.com/lab/icons/flags/
89
GV (Gael Varoquaux) Public Domain N/A
910
Nuvola LGPL image_LICENSE_Nuvola.txt
1011
OOo LGPL image_LICENSE_OOo.txt
12+
Oxygen CC-SA 3.0 LICENSE-CC-BY-3.0.txt
13+
PSF Trademark https://www.python.org/community/logos/
1114

1215
Unless stated in this file, icons are the work of Enthought, and are
1316
released under a 3 clause BSD license.
1417

1518
Files and orginal authors:
1619
----------------------------------------------------------------------------
20+
examples/application/python_editor/images:
21+
document_new.png | Oxygen
22+
document_open.png | Oxygen
23+
document_save.png | Oxygen
24+
python_icon.png | PSF
25+
python_logo.png | PSF
26+
27+
examples/application/python_shell/images:
28+
python_icon.png | PSF
29+
python_logo.png | PSF
30+
31+
examples/data_view/images:
32+
ca.png | FamFamFam Flags
33+
gb.png | FamFamFam Flags
34+
us.png | FamFamFam Flags
35+
36+
examples/dock/images:
37+
folder.png | Nuvola
38+
gear.png | Nuvola
39+
40+
examples/images:
41+
closed_folder_24x24.png | Nuvola
42+
closed_folder.png | Nuvola
43+
document.png | GV
44+
open_folder.png | Nuvola
45+
46+
examples/tasks/advanced/images:
47+
document_new.png | Oxygen
48+
document_open.png | Oxygen
49+
document_save.png | Oxygen
50+
51+
examples/tasks/basic/images:
52+
document_open.png | Oxygen
53+
document_save.png | Oxygen
54+
1755
pyface/action/images:
1856
action.png | Eclipse
1957

20-
pyface/images:
21-
about.jpg | Enthought
22-
background.jpg | Enthought
23-
caret_close.png | Enthought
24-
caret_open.png | Enthought
25-
close.png | GV
26-
image_not_found.png | Nuvola
27-
panel_gradient.png | Enthought
28-
panel_gradient_over.png | Enthought
29-
question.png | GV
30-
splash.png | Enthought
31-
3258
pyface/dock/images:
33-
bar_feature_changed.png | Enthought
34-
bar_feature_disabled.png | Enthought
35-
bar_feature_drop.png | Enthought
36-
bar_feature_no_drop.png | Enthought
37-
bar_feature_normal.png | Enthought
3859
close_drag.png | GV
3960
close_tab.png | GV
4061
feature_tool.png | GV
41-
sh_bottom.png | Enthought
42-
sh_middle.png | Enthought
43-
sh_top.png | Enthought
44-
shell.ico | Enthought
45-
sv_left.png | Enthought
46-
sv_middle.png | Enthought
47-
sv_right.png | Enthought
48-
tab_feature_changed.png | Enthought
49-
tab_feature_disabled.png | Enthought
50-
tab_feature_drop.png | Enthought
5162
tab_feature_no_drop.png | OOo
5263
tab_feature_normal.png | OOo
53-
tab_scroll_l.png | Enthought
54-
tab_scroll_lr.png | Enthought
55-
tab_scroll_r.png | Enthought
5664
window.png | Eclipse
5765

58-
pyface/ui/wx/grid/images:
59-
checked.png | GV
66+
pyface/images:
67+
about.jpg | Python Software Foundation
68+
close.png | GV
6069
image_not_found.png | Nuvola
61-
table_edit.png | OOo
62-
unchecked.png | GV
70+
question.png | GV
71+
splash.png | Python Software Foundation
6372

64-
pyface/tree/images:
65-
closed_folder.png | Nuvola
66-
document.png | GV
67-
open_folder.png | Nuvola
73+
pyface/tests/images:
74+
core.png | Nuvola
6875

69-
examples/images:
70-
closed_folder_24x24.png | Nuvola
76+
pyface/tree/images:
7177
closed_folder.png | Nuvola
7278
document.png | GV
7379
open_folder.png | Nuvola
7480

75-
examples/dock/images:
76-
folder.png | Nuvola
77-
gear.png | Nuvola
81+
pyface/ui/wx/grid/images:
82+
checked.png | GV
83+
image_not_found.png | Nuvola
84+
table_edit.png | OOo
85+
unchecked.png | GV
7886

79-
examples/workbench/images:
80-
example.ico | Enthought
87+
pyface/ui/wx/images:
88+
warning.png | GV

pyface/action/action_manager.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ def __init__(self, *args, **traits):
112112
# Otherwise, the item is an action manager item so add it to the
113113
# current group.
114114
else:
115-
## # If no group has been created then add one. This is only
116-
## # relevant when using the 'shorthand' way to define menus.
117-
## if group is None:
118-
## group = Group(id='__first__')
119-
## self.insert(-1, group)
120-
121115
group.append(arg)
122116

123117
# ------------------------------------------------------------------------

pyface/action/images/image_LICENSE.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

pyface/dock/images/image_LICENSE.txt

Lines changed: 0 additions & 40 deletions
This file was deleted.

pyface/images/image_LICENSE.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)