Bug 610881 - detect notification server capabilities on demand only
detect notification server capabilities on demand only
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
0.8.x
Other All
: Normal enhancement
: ---
Assigned To: Dan Williams
Dan Williams
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-02-23 21:33 UTC by Martin Pitt
Modified: 2016-03-11 17:42 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: ---


Attachments
defer querying notification server capabilities until needed (3.20 KB, patch)
2010-02-23 22:00 UTC, Martin Pitt
none Details | Diff | Review

Description Martin Pitt 2010-02-23 21:33:36 UTC
In bug 610880 I submitted a patch against libnotify to start the notification daemon demand instead of right away, to (1) improve desktop startup time, and (2) avoid having the daemon run at all if/as long as no program is actually making any notifications.

In order to fully utilize this, nm-applet needs to defer asking the server capabilities until it actually wants to send a notification, instead of on initialization time.

I'll work on a patch for this.
Comment 1 Martin Pitt 2010-02-23 22:00:36 UTC
Created attachment 154546 [details] [review]
defer querying notification server capabilities until needed
Comment 2 Dan Williams 2010-02-24 00:04:32 UTC
Anything that removes members from 'struct NMApplet' is good ;)

3bd98a574204ec33510969abc00cf5f904823761

Thanks!

Note You need to log in before you can comment on or make changes to this bug.