Skip to content

Commit

Permalink
Migrate to gnome 40+
Browse files Browse the repository at this point in the history
  • Loading branch information
jere-ortega24 committed Nov 21, 2021
1 parent 55ca6f8 commit 1f51e56
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 383 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
This is a gnome shell extension to display an analog clock in the panel.

## Gnome-shell versions
Currently only 3.36 is supported.
* 40
* 41

## Install
### EGO (recommended)
Get it from [extensions.gnome.org](https://extensions.gnome.org/extension/3578/oclock/).

### From source
Run
```
Expand Down
3 changes: 2 additions & 1 deletion src/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "Shows an analog clock on the panel",
"name": "OClock",
"shell-version": [
"3.36"
"40",
"41"
],
"url": "https://www.github.com/jere-ortega24/gnome-shell-extension-oclock/",
"uuid": "oclock@ortega.tech",
Expand Down
4 changes: 1 addition & 3 deletions src/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,5 @@ this.buildPrefsWidget = () => {
builder.get_object('maintainer-label').set_label(Me.metadata.author.toString());
builder.get_object('website-label').set_uri(Me.metadata.url.toString());

const widget = builder.get_object('main');
widget.show_all();
return widget;
return builder.get_object('main');
};

0 comments on commit 1f51e56

Please sign in to comment.