forked from emesene/emesene
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored PluginWindow code to avoid duplicates.
I was unhappy about the PluginWindow code and it was bugging me pretty badly. Everytime I see the code it gives me a minor headache. So I did a pretty hackish job of refactoring the code. If you know a better solution, please tell me. I realized that what I did here only eliminates a few line of code (mostly just the if name is not None). This also seems to have made the code a little bit more complicated, which is truely lame-tastic. Anything cooler would be _cool_. Thanks. (I also see a couple other refactoring jobs I could do, but it's late and I have school in the morning. And I didn't break anything this time, sbte. I tested extensively.. You're making me paranoid.)
- Loading branch information
Showing
1 changed file
with
35 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters