Ticket #3643 (closed defect: fixed)
Un-clutter roster_window.py
| Reported by: | steve-e | Owned by: | asterix |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | None | Version: | hg |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| OS: | All | Blocking: |
Description
I know there is still the modelfilter patch pending, nevertheless we should think about cleaning up the roster sources.
Roster_window.py is 5578 lines long and declares 169 public methods (only about 40% of those are documented)
On a quick glance I spotted the following:
- Music Track notifications should be moved somewhere else
- enable_syncing_status_msg_from_current_music_track()
- enable_syncing_status_msg_from_lastfm()
- _music_track_changed
- some stuff in init
- change_awn_icon_status should be moved to statusicon.py
- A lot of Icon related stuff could be moved to gtkgui_helpers
- get_appropriate_state_images
- load_iconset or make_foo_state_images
- ...
- on_status_combobox_changed and change_status kill DRY Principal
- Don't repeat yourself: both fire dialog for invisibility in groupchat
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
