PlugaruT / wingpanel-monitor

System Monitor Indicator for Wingpanel
GNU General Public License v3.0
75 stars 9 forks source link

Elementary 6.0 Odin compatibility #23

Closed andirsun closed 3 years ago

andirsun commented 3 years ago

I just add small tweaks to make this awesome wingpanel indicator works in elementary os 6.0

If you have any comments let me know

Todo:

../src/Widgets/Toggles.vala:24.9-24.51: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton


![Screenshot from 2021-05-18 11-45-12](https://user-images.githubusercontent.com/22928302/118691294-8a843c00-b7ce-11eb-918e-d2d56ad44617.png)
PlugaruT commented 3 years ago

Hi and thanks for your contribution. Can you please replace the usage of the deprecated widgets with the recommended ones? In order to fully support the new version of eOS. Thanks

andirsun commented 3 years ago

Hi and thanks for your contribution. Can you please replace the usage of the deprecated widgets with the recommended ones? In order to fully support the new version of eOS. Thanks

Sure!, let me work on that.

andirsun commented 3 years ago

@PlugaruT Test it and let me know back.

prateekmedia commented 3 years ago

@andirsun Deprecated widgets are still there

../src/Widgets/PopoverWidget.vala:67.22-67.48: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator
../src/Widgets/PopoverWidget.vala:74.22-74.48: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator