New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gnome-power-manager: init at 3.26.0 #34480
gnome-power-manager: init at 3.26.0 #34480
Conversation
gtk3 | ||
glib | ||
upower | ||
intltool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intltool
is a nativeBuildInput
.
upower | ||
intltool | ||
gnome3.defaultIconTheme | ||
gnome3.gsettings_desktop_schemas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not look like the schemas are used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app creates it's own gsettings: https://github.com/GNOME/gnome-power-manager/blob/9c91bf6ed47265466f06677fddb1940bebfd6e9e/src/gpm-statistics.c#L1923
What does gnome3.gesttings_desktop_schemas
do? Does it provides some default gsettings?
2fde1ee
to
bb83245
Compare
Thanks for the review @jtojnar; I've force pushed an update that addresses both comments. Re removing |
I do not see the schemas mentioned anywhere in the code. Well they might still be needed by GTK itself but that was handled by #31891. |
Provides an app to view battery and power statistics. This app is badly documented on the web, but is in the default Fedora install; hence to motivation to add it to Nix.
bb83245
to
d2f065b
Compare
Thanks. |
Motivation for this change
Provides an app to view battery and power statistics. This app is badly
documented on the web, but is in the default Fedora install; hence to
motivation to add it to Nix.
Testing
nix-env -i gnome-power-manager -f ~/nixpkgs/ gnome-power-statistics
It should launch and show some power statistics!
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)