Make it possible to disable/enable the notification area icon

Registered by Severin H

The GNOME HIG states that:

    * Only core GNOME programs may perpetually display an icon in the status area.
    * Non-core programs for which a perpetual icon may be useful must default to not perpetually showing the icon. Users may select to enable a perpetual icon for the application as a preference.

I hereby suggest to move the hard-coded status icon code from gui.py to a plugin. Enabling it would instantly add the LottaNZB icon to the notification area. Additionally, the "Close" menu entry would be added to the file menu. If the plugin is not enabled, closing the LottaNZB main window would entirely shut down LottaNZB. I guess the plugin should be enabled by default though, ignoring the fact that LottaNZB is not a core GNOME application. ;-)

Another thing to think about: What happens to the "Start minimized" option? Since it makes only sense if this plugin is enabled, it would need to be managed by the plugin, but we cannot add a plugin tab containing a single checkbox imho. We could either try to hook into the "General" tab somehow and add it there if the plugin is enabled (dirty hacks unavoidable ;-) or we simply get rid of it.

Basically, I'd just like to do what the Banshee developers did.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
Severin H
Direction:
Needs approval
Assignee:
Severin H
Definition:
Approved
Series goal:
Accepted for 0.5
Implementation:
Implemented
Milestone target:
milestone icon 0.5
Started by
Severin H
Completed by
Severin H

Sprints

Whiteboard

It would even help us to reduce the size of gui.py a little.

Sander: Well, I agree that moving this to a plug-in can be good. Especially since OSX doesn't have a notification area (right?). However, the rule that only core GNOME programs can have a perpetual icon is a load of crap in my opinion. I think that this icon is very useful. I would opt for a perpetual icon by default.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.