f8dc3b88f8
We used 'bannerBody' flag to differentiate the case when we move the banner to the body when the notification is expanded from the one when we don't do that and only use the custom content set for the notification, as is the case for Telepathy notifications. We also always cleared the content of the notification on update when bannerBody was set to true. Flag named 'customContent' reflects the use case for it more clearly. The comments that accompany it were also updated and improved. We now always add the banner text as the first element in the expanded notification unless 'customContent' flag is set to true. If the 'body' parameter is specified, we use it in addition to the banner text. The earlier version of the code had a bug that resulted in the 'body' parameter not being set only in the case when the 'bannerBody' was set to true and the banner text had newlines in it. https://bugzilla.gnome.org/show_bug.cgi?id=623970 |
||
---|---|---|
.. | ||
altTab.js | ||
appDisplay.js | ||
appFavorites.js | ||
boxpointer.js | ||
calendar.js | ||
chrome.js | ||
dash.js | ||
dnd.js | ||
docDisplay.js | ||
environment.js | ||
extensionSystem.js | ||
genericDisplay.js | ||
lightbox.js | ||
link.js | ||
lookingGlass.js | ||
magnifier.js | ||
magnifierDBus.js | ||
main.js | ||
Makefile.am | ||
messageTray.js | ||
notificationDaemon.js | ||
overview.js | ||
panel.js | ||
panelMenu.js | ||
placeDisplay.js | ||
popupMenu.js | ||
runDialog.js | ||
scripting.js | ||
search.js | ||
shellDBus.js | ||
statusMenu.js | ||
telepathyClient.js | ||
tweener.js | ||
windowAttentionHandler.js | ||
windowManager.js | ||
workspace.js | ||
workspacesView.js | ||
workspaceSwitcherPopup.js |