fflewddur / tophat

View CPU, memory, disk, and network activity in the GNOME top bar.
https://extensions.gnome.org/extension/5219/tophat/
GNU General Public License v3.0
347 stars 26 forks source link

[port] upgrade Gio #146

Open mattia-b89 opened 1 month ago

mattia-b89 commented 1 month ago

journal reports:

Oct 12 14:21:16 arch-xps gnome-shell[1685]: Gio.unix_mount_points_get has been moved to a separate platform-specific library. Please update your code to use GioUnix.mount_points_get instead.
                                            0 getPartitions() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":160:23]
                                            1 _refreshFS() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":352:29]
                                            2 refresh() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":347:14]
                                            3 addToPanel/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":71:21]
                                            4 forEach() ["self-hosted":160:22]
                                            5 addToPanel() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":68:33]
                                            6 enable() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":141:25]
                                            7 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":264:38]
                                            8 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":476:32]
                                            9 InterpretGeneratorResume() ["self-hosted":1417:34]
                                            10 AsyncFunctionNext() ["self-hosted":804:27]
                                            11 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20]
Oct 12 14:21:16 arch-xps gnome-shell[1685]: Gio.UnixMountPoint has been moved to a separate platform-specific library. Please update your code to use GioUnix.MountPoint instead.
                                            0 getPartitions() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":160:27]
                                            1 _refreshFS() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":352:29]
                                            2 refresh() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":347:14]
                                            3 addToPanel/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":71:21]
                                            4 forEach() ["self-hosted":160:22]
                                            5 addToPanel() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":68:33]
                                            6 enable() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":141:25]
                                            7 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":264:38]
                                            8 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":476:32]
                                            9 InterpretGeneratorResume() ["self-hosted":1417:34]
                                            10 AsyncFunctionNext() ["self-hosted":804:27]
                                            11 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20]
Oct 12 14:21:16 arch-xps gnome-shell[1685]: Gio.unix_mount_at has been moved to a separate platform-specific library. Please update your code to use GioUnix.mount_at instead.
                                            0 getPartitions/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":175:34]
                                            1 forEach() ["self-hosted":160:22]
                                            2 getPartitions() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":167:20]
                                            3 _refreshFS() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":352:29]
                                            4 refresh() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":347:14]
                                            5 addToPanel/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":71:21]
                                            6 forEach() ["self-hosted":160:22]
                                            7 addToPanel() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":68:33]
                                            8 enable() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":141:25]
                                            9 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":264:38]
                                            10 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":476:32]
                                            11 InterpretGeneratorResume() ["self-hosted":1417:34]
                                            12 AsyncFunctionNext() ["self-hosted":804:27]
                                            13 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20]
Oct 12 14:21:16 arch-xps gnome-shell[1685]: Gio.UnixMountEntry has been moved to a separate platform-specific library. Please update your code to use GioUnix.MountEntry instead.
                                            0 getPartitions/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":175:38]
                                            1 forEach() ["self-hosted":160:22]
                                            2 getPartitions() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/shared.js":167:20]
                                            3 _refreshFS() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":352:29]
                                            4 refresh() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/lib/fs.js":347:14]
                                            5 addToPanel/<() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":71:21]
                                            6 forEach() ["self-hosted":160:22]
                                            7 addToPanel() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":68:33]
                                            8 enable() ["file:///home/mattia/.local/share/gnome-shell/extensions/tophat@fflewddur.github.io/extension.js":141:25]
                                            9 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":264:38]
                                            10 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":476:32]
                                            11 InterpretGeneratorResume() ["self-hosted":1417:34]
                                            12 AsyncFunctionNext() ["self-hosted":804:27]
                                            13 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20]

sooner or later, we have to upgrade the code

mattia-b89 commented 1 month ago

this https://github.com/fflewddur/tophat/issues/145 could be the right opportunity