Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function _MenuEntry(set) {
button.connect('clicked', _DisplayOff);
// add the menuentry to the menu
//systemMenu._actionsItem.actor.insert_child_at_index(button, 4);
systemMenu._actionsItem.actor.add(button, { expand: true, x_fill: false });
systemMenu.menu.actor.add(button, { expand: true, x_fill: false });
}

}
Expand All @@ -213,7 +213,7 @@ function _MenuEntry(set) {
else {

// remove the button
systemMenu._actionsItem.actor.remove_child(button);
systemMenu.menu.actor.remove_child(button);
}

// reset menuitem/button variable
Expand Down