Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
orangeshirt committed Nov 5, 2012
1 parent 2016432 commit 4c4e2ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ function TouchpadNotificationSource() {

TouchpadNotificationSource.prototype = {
__proto__: MessageTray.Source.prototype,

_init: function() {
let icon = new St.Icon({ icon_name: 'input-touchpad',
icon_size: NOTIFICATION_ICON_SIZE
});
Expand All @@ -305,6 +307,8 @@ function ensureMessageSource() {
if (!msg_source) {
msg_source = new TouchpadNotificationSource();
msg_source.connect('destroy', Lang.bind(this, function() {
msg_source = null;
}));
Main.messageTray.add(msg_source);
}
};
Expand Down

0 comments on commit 4c4e2ae

Please sign in to comment.