Skip to content

Commit c621f5d

Browse files
committed
networkAgent.js: Fix failed notification when reminding the user
about some required authentication. This won't show if a user selects a hotspot from the applet, for example, but can if they never authenticate and then log out and back in later.
1 parent e589d6a commit c621f5d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

js/ui/networkAgent.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,14 @@ var NetworkAgent = class {
682682
return;
683683
}
684684

685+
source.createNotificationIcon = () => {
686+
return new St.Icon({
687+
icon_name: "xsi-dialog-password-symbolic",
688+
icon_type: St.IconType.SYMBOLIC,
689+
icon_size: source.ICON_SIZE
690+
});
691+
}
692+
685693
let notification = new MessageTray.Notification(source, title, body);
686694

687695
notification.connect('clicked', () => {

0 commit comments

Comments
 (0)