-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support dark mode #684
base: master
Are you sure you want to change the base?
Support dark mode #684
Conversation
Close my commit well |
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.
🚀
Testing this with the latest settings-daemon, I am now getting a blank screen on the greeter 😬 Does this need to be updated too? |
That's weird. Have you installed elementary/wingpanel#499 by any chance? If you have, try uninstalling it. |
I fixed a bug that prevented setting user preferences, everything should work as expected now. |
Sorry for taking a while to respond! Just tried again on a relatively clean OS 8 install where I have not had that wingpanel branch and I'm still getting a blank/gray screen with this branch. So it seems like the compositor is probably loading but not the panel or greeter window |
@danirabbit Not sure what might have caused that. Can you send me logs from /var/log/lightdm/seat0-greeter.log please? |
@lenemter sorry for taking a while to follow up!
|
@lenemter There is a conflict to resolve now |
I am seeing the same compiler errors as the checks |
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.
a few nits
|
||
Gtk.init (ref args); | ||
|
||
var window = new Greeter.MainWindow (); | ||
window.show_all (); | ||
|
||
try { | ||
portals = new Greeter.SubprocessSupervisor ({"/usr/libexec/xdg-desktop-portal"}); |
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 is unclear to me why you need to spawn this?
}); | ||
|
||
try { | ||
settings_daemon = new Greeter.SubprocessSupervisor ({"io.elementary.settings-daemon"}); |
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.
Also unclear?
changed_properties.lookup ("PrefersColorScheme", "i", out prefers_color_scheme); | ||
greeter_act.prefers_color_scheme = prefers_color_scheme; |
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.
changed_properties.lookup ("PrefersColorScheme", "i", out prefers_color_scheme); | |
greeter_act.prefers_color_scheme = prefers_color_scheme; | |
if (changed_properties.lookup ("PrefersColorScheme", "i", out prefers_color_scheme)) { | |
greeter_act.prefers_color_scheme = prefers_color_scheme; | |
} |
Fixes #688
Closes #563
Closes #499
To do: