Use Python GTK best practices (#184)
* refactor: rename class `Application` to `DiffuseApplication` * refactor: rename class `Diffuse` to `DiffuseWindow` * refactor: remove unnecessary constructor parameters + docstrings * refactor: move DiffuseWindow class to its own file * refactor: move PaneHeader/Footer outside DiffuseWindow * refactor: move FileDiffViewer outside DiffuseWindow * docs: update CHANGELOG.md
This commit is contained in:
parent
a2e7ac4967
commit
977d015c35
|
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Translation: updated Swedish translation (@eson57)
|
- Translation: updated Swedish translation (@eson57)
|
||||||
- Dialog: prompt only once if several files needs to be reloaded (@yuriiz)
|
- Dialog: prompt only once if several files needs to be reloaded (@yuriiz)
|
||||||
- Use GTK3's Gtk.Application/Gtk.ApplicationWindow (@yuriiz)
|
- Use GTK3's Gtk.Application/Gtk.ApplicationWindow (@yuriiz)
|
||||||
|
- Split `DiffuseApplication` and `DiffuseWindow` classes in their own files (@MightyCreak)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
1868
src/diffuse/main.py
1868
src/diffuse/main.py
File diff suppressed because it is too large
Load Diff
|
@ -52,6 +52,7 @@ diffuse_sources = [
|
||||||
'resources.py',
|
'resources.py',
|
||||||
'utils.py',
|
'utils.py',
|
||||||
'widgets.py',
|
'widgets.py',
|
||||||
|
'window.py',
|
||||||
]
|
]
|
||||||
|
|
||||||
install_data(diffuse_sources, install_dir: moduledir)
|
install_data(diffuse_sources, install_dir: moduledir)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue