Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the extension system #29

Merged
merged 1 commit into from
Dec 17, 2012
Merged

Improvements to the extension system #29

merged 1 commit into from
Dec 17, 2012

Conversation

brot
Copy link
Member

@brot brot commented Nov 18, 2012

  • Add category metadata in every extension
  • Show this category in the extension list gui
  • Add "mandatory_in" and "disable-in" configuration for an extension
  • Add Ubuntu unity check to enable/disable unity specific extensions
  • Move "gpodder.win32" and "gpodder.osx" setting to the "gpodder.ui" namespace to be able to use it in the extensions category settings
  • Only show metadata information in the right-click dialog of an extension

Someone should test the changes on Windows and MacOSX. I don't have Windows or Mac at home to test this changes!

@@ -129,6 +129,9 @@ def main():
gpodder.ui.qml = True
else:
gpodder.ui.gtk = True

gpodder.ui.unity = (os.environ.get('DESKTOP_SESSION').lower() in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a string as a default value or it will crash here when DESKTOP_SESSION does not exist.

@thp
Copy link
Member

thp commented Dec 6, 2012

Can you once again stash these two commits together into a single one? :) Also, is it ready to go in or do you want me to have a deeper look over it?

- Add category metadata in every extension
- Show this category in the extension list gui
- Add "mandatory_in" and "disable-in" configuration for an extension
- Add Ubuntu unity check to enable/disable unity specific extensions
- Move "gpodder.win32" and "gpodder.osx" setting to the "gpodder.ui" namespace to be able to use it in the extensions category settings
- Only show metadata information in the right-click dialog of an extension
@brot
Copy link
Member Author

brot commented Dec 7, 2012

Ok, now it's again only one commit.
As you like it. You saw most of the code at the last hack day. So it's up to you :-)

thp added a commit that referenced this pull request Dec 17, 2012
Improvements to the extension system
@thp thp merged commit f6c6613 into gpodder:master Dec 17, 2012
@thp
Copy link
Member

thp commented Dec 17, 2012

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants