Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The extension's directory name should match its uuid i.e. "openbar@neuromorph"
Note:
Please download from following GitHub branch as per your Gnome version:
- For Gnome 42-44: branch 'g42-44'
- For Gnome 45+: branch 'main'
- For Gnome 45-50: branch 'main'

You will need to restart the Gnome Shell (for manual install):

Expand Down
5 changes: 3 additions & 2 deletions openbar@neuromorph/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,15 +383,16 @@ export default class Openbar extends Extension {
this.applySectionStyles(sectionList, add);

const msgHbox = msgbox.get_child_at_index(1); // hbox at botton for dnd and clear buttons
let clearBtn;
if(this.gnomeVersion < 49) {
const dndBtn = msgHbox.get_child_at_index(1);
this.applyMenuClass(dndBtn, add);
const toggleSwitch = dndBtn.get_child_at_index(0);
this.applyMenuClass(toggleSwitch, add);
const clearBtn = msgHbox.get_child_at_index(2);
clearBtn = msgHbox.get_child_at_index(2);
}
else {
const clearBtn = msgHbox.get_child_at_index(1);
clearBtn = msgHbox.get_child_at_index(1);
}
this.applyMenuClass(clearBtn, add);

Expand Down
3 changes: 2 additions & 1 deletion openbar@neuromorph/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"46",
"47",
"48",
"49"
"49",
"50"
],
"url": "https://github.com/neuromorph/openbar",
"uuid": "openbar@neuromorph",
Expand Down