diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-11 20:43:36 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-11 22:21:51 +0000 |
commit | 0cdf0230e9ed25bae37766b44cf081db4d845cf0 (patch) | |
tree | f6966ed836ab389b4a220f80446ce431aefa139f /deluge/log.py | |
parent | c8e6a4476d038376caacbba66805e4aaf2a1b575 (diff) | |
download | deluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.tar.gz deluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.tar.bz2 deluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.zip |
[GTKUI] Refactor gtk imports and code
* Where possible use 'from gtk import ...', i.e. if repeated often or under 10 individual imports.
* Remove osx_check to not show svg. It's only an issue on Windows so should work fine...
* Rearrange and deduplicate code into d.u.g.common for getting pixbuf from files.
* Use 'from gtk.gdk import...' to make it cleaner to apply GTK3 changes in future.
* Move generic icon code from torrent_data_funcs to common.
* Fix pylint import warnings and add WindowsError to pylintrc file.
Diffstat (limited to 'deluge/log.py')
0 files changed, 0 insertions, 0 deletions