mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
messageTray: Expose Source icon as GObject property
As the notification redesign affects the API anyway, we can just as well use the opportunity to modernize the code. Turning the icon into a GObject property means we no longer need a custom signal for change notifications, and the icon becomes usable in bindings. Since setting an `GThemedIcon` is common this also adds a convenience property to set the icon name directly. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
This commit is contained in:
parent
1b49cc643c
commit
00a375ce9b
9 changed files with 52 additions and 90 deletions
|
|
@ -226,6 +226,10 @@ $_gdm_dialog_width: 23em;
|
|||
}
|
||||
}
|
||||
|
||||
.unlock-dialog-notification-icon {
|
||||
icon-size: $large_icon_size;
|
||||
}
|
||||
|
||||
.unlock-dialog-notification-label {
|
||||
padding-left: $base_padding * 2;
|
||||
padding-right: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue