Skip to content
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

bug: Error when applying GTK-3 Theme. #811

Open
2 tasks done
aspizu opened this issue Aug 18, 2023 · 2 comments · May be fixed by #813
Open
2 tasks done

bug: Error when applying GTK-3 Theme. #811

aspizu opened this issue Aug 18, 2023 · 2 comments · May be fixed by #813
Labels
type/bug Something isn't working
Milestone

Comments

@aspizu
Copy link

aspizu commented Aug 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Errors out, no css is output in ~/.config/gtk-3.0/

(process:256003): Adwaita-WARNING **: 09:39:17.317: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/gradience/frontend/main.py", line 613, in apply_color_scheme
    PresetUtils().apply_preset("gtk3", self.preset)
  File "/usr/lib/python3.11/site-packages/gradience/backend/theming/preset.py", line 120, in apply_preset
    self.set_gtk3_theme()
  File "/usr/lib/python3.11/site-packages/gradience/backend/theming/preset.py", line 46, in set_gtk3_theme
    self.settings.set("gtk-theme", "adw-gtk3")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'GSettingsSetting' object has no attribute 'set'

To Reproduce

  1. Apply GTK-3 Theme

Expected behavior

Theme should be applied.

Screenshots

No response

OS

Arch Linux

DE/WM version

Hyprland

Version

0.8.0-beta1

Installation method

AUR

Enabled system extensions (GNOME specific)

No response

Additional context

AUR Package gradience-git.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@aspizu aspizu added the type/bug Something isn't working label Aug 18, 2023
@github-actions
Copy link
Contributor

Welcome on Gradience. 🥳 We really appreciate your contribution. The core team will review your issue as soon as possible. You can also join the Matrix room: https://matrix.to/#/#Gradience-space:envs.net or the Discord server: https://discord.com/invite/4njFDtfGEZ

@0xMRTT
Copy link
Member

0xMRTT commented Aug 18, 2023

Hmm, little bug when there's not system-wide ext

@lavafroth lavafroth linked a pull request Aug 20, 2023 that will close this issue
5 tasks
@tfuxu tfuxu added this to the 0.8.0 milestone Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

3 participants