Skip to content

Commit

Permalink
Fix dependencies on StatusIcon plugin
Browse files Browse the repository at this point in the history
AudioProfiles and StatusNotifierItem do not actually depend on it. They are rather pointless without a status icon but they do work. Also there is no point on not making AudioProfiles unloadable (the default). This makes #1496 actually work.
  • Loading branch information
cschramm committed Oct 12, 2022
1 parent c4e5f46 commit 85c31b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions blueman/plugins/applet/PulseAudioProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@


class AudioProfiles(AppletPlugin):
__depends__ = ["StatusIcon", "Menu"]
__unloadable__ = False
__depends__ = ["Menu"]
__description__ = _("Adds audio profile selector to the status icon menu")
__author__ = "Abhijeet Viswa"

Expand Down
1 change: 0 additions & 1 deletion blueman/plugins/applet/StatusNotifierItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class StatusNotifierItem(AppletPlugin, StatusIconImplementationProvider):
__description__ = _("Provides a StatusNotifierItem to show a statusicon")
__icon__ = "bluetooth-symbolic"
__depends__ = ['StatusIcon']

def on_query_status_icon_implementation(self) -> Tuple[str, int]:
return "StatusNotifierItem", 20

0 comments on commit 85c31b3

Please sign in to comment.