gnome-shell/data/theme
Marina Zhurakhinskaya afd3b76970 Fix various details of how notifications are shown
This patch ensures the following notifications behavior:
- Urgent notifications that have long title or banner text are auto-expanded
  correctly.
- Single-line notifications that have _expandNotification() called (e.g.
  because the user mouses over to them), are treated as expanded, which means
  they get fully expanded if they are updated with more content and the user
  can escape them.
- The position of expanded notifications is updated when they are updated.
- Notification banner is shown again on the first line if it can fully fit
  there after a notification is updated, even if it was previously hidden
  because the notification was expanded and the old banner did not fully fit.
- New notifications are immediately hidden if the user mouses away from them.
- If a new notification is updated while it is shown, we extend the time it
  will be shown.
- If a new notification is updated while it is hiding, we stop hiding it and
  show it again.
- If a summary notification is updated while it is hiding, we let it finish
  hiding and show a new notification with the updated information.

Implementation details:
- Single-line notifications now have 4px bottom padding instead of 8px, which
  means that their height matches the tray height, they are fully shown in the
  banner mode, and don't pop out by 4px when the notification is expanded.
- Notification keeps a flag that indicates whether it is expanded, updates
  its expanded look when it is updated, and emits an 'expanded' signal
  indicating that its layout has possibly changed. The message tray connects
  to this 'expanded' signal when it is showing a notification in the expanded
  state and updates the position of the notification accordingly when this
  signal is received so that the notification is fully shown. This is better
  than connecting to 'notify::height' signal on the notification bin, since
  it results in fewer callbacks.

https://bugzilla.gnome.org/show_bug.cgi?id=617209
2010-09-10 15:47:12 -04:00
..
add-workspace.svg New workspaces view 2010-01-22 13:47:52 -05:00
close-window.svg Window selector refinements 2009-11-19 18:40:44 -05:00
close.svg [overview] Port pane to CSS 2009-11-12 11:42:01 -05:00
corner-ripple.png Draw a ripple when the hot corner is hit 2010-02-08 14:04:45 -05:00
dialog-error.svg Improve run dialog 2010-02-26 20:22:39 +03:00
gnome-shell.css Fix various details of how notifications are shown 2010-09-10 15:47:12 -04:00
mosaic-view-active.svg New workspaces view 2010-01-22 13:47:52 -05:00
mosaic-view.svg New workspaces view 2010-01-22 13:47:52 -05:00
move-window-on-new.svg add ability move window in SingleView 2010-03-16 18:54:56 +03:00
process-working.png Add animated display of startup notification 2010-06-17 23:18:28 +04:00
remove-workspace.svg New workspaces view 2010-01-22 13:47:52 -05:00
scroll-button-down-hover.png Fix installation and distribution of stylesheet data 2009-10-01 14:41:18 -04:00
scroll-button-down.png Fix installation and distribution of stylesheet data 2009-10-01 14:41:18 -04:00
scroll-button-up-hover.png Fix installation and distribution of stylesheet data 2009-10-01 14:41:18 -04:00
scroll-button-up.png Fix installation and distribution of stylesheet data 2009-10-01 14:41:18 -04:00
scroll-hhandle.svg [CSS] Update overview style to match latest mockup 2010-02-15 22:14:31 +01:00
scroll-vhandle.svg [CSS] Update overview style to match latest mockup 2010-02-15 22:14:31 +01:00
section-more-open.svg Adjust more-apps menu to better match the overall theme 2010-03-11 18:23:10 +01:00
section-more.svg [dash] Swap More for triangle 2009-11-12 11:42:02 -05:00
separator-white.png Add sections to the all apps view 2010-06-06 02:53:27 +04:00
single-view-active.svg CSS tweaks to match mockups better 2010-02-01 10:13:19 -05:00
single-view.svg CSS tweaks to match mockups better 2010-02-01 10:13:19 -05:00
ws-switch-arrow-left.svg New workspace switcher popup 2010-02-12 23:52:15 +01:00
ws-switch-arrow-right.svg New workspace switcher popup 2010-02-12 23:52:15 +01:00