MichalW / gnome-bluetooth-battery-indicator

Gnome-Shell extension displaying battery percentage for bluetooth devices
GNU General Public License v3.0
121 stars 40 forks source link

GNOME 40 support #7

Closed yochananmarqos closed 3 years ago

yochananmarqos commented 3 years ago

Could you add GNOME 40 support? The preferences won't open:

TypeError: this.set_border_width is not a function

Stack trace:
  _init@/usr/share/gnome-shell/extensions/bluetooth-battery@michalw.github.com/settingsWidget.js:22:18
  buildPrefsWidget@/usr/share/gnome-shell/extensions/bluetooth-battery@michalw.github.com/prefs.js:17:25
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
corebots commented 3 years ago

Indeed the extension doesn't work under GNOME 40 :(

ghost commented 3 years ago

I will try to make a fork for making this work with gnome 40

abinlatheef commented 3 years ago

I will try to make a fork for making this work with gnome 40

Are you done? Waiting..

MichalW commented 3 years ago

@abinlatheef @corebots @yochananmarqos Please check if it works now :)

yochananmarqos commented 3 years ago

@MichalW Yes, it's working. Thanks!

abinlatheef commented 3 years ago

@abinlatheef @corebots @yochananmarqos Please check if it works now :)

Thank you very much. But it is showing 'busy' for me. Sometimes changing to 'refused' and again 'busy' when I hit the refresh button. image Please look into it. Sorry for bothering.