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

Patch to allow configuring Wayland 'gtk-dialogs-use-header' #93

Merged
merged 3 commits into from Mar 7, 2023
Merged

Patch to allow configuring Wayland 'gtk-dialogs-use-header' #93

merged 3 commits into from Mar 7, 2023

Conversation

ghost
Copy link

@ghost ghost commented Mar 7, 2023

Context:
When upstream GTK added then Wayland backend a number of GTK settings values were prioritized to come from 'org.gnome.' dconf/gsettings. In the case where no applicable 'org.gnome' setting existed (to map to an applicable GTK setting) the GTK setting was hardcoded. One of these settings was 'gtk-dialogs-use-header' (hardcoded to TRUE). This setting controls where action buttons in dialogs (FileChooser/ColorChooser/etc.) appear (TRUE=in header bar, FALSE=in action area).

This patch removes the hardcoded value for this setting (on Wayland), allowing it to be set via settings.ini. Note, contrary to the hardcoded value in Wayland the default value is FALSE.

@lah7
Copy link
Owner

lah7 commented Mar 7, 2023

Looks good to me, thanks!

I forced push an amendment so the PKGBUILD checksums (for Arch) are up-to-date as part of the commit.

@lah7 lah7 merged commit 31dc53f into lah7:master Mar 7, 2023
@ghost
Copy link
Author

ghost commented Mar 7, 2023

Ah, thank-you (I did forget the PKGBUILD, I'm a NixOS user not Arch).

@ghost ghost deleted the wayland_config_setting branch March 7, 2023 18:20
archlinux-github pushed a commit to archlinux/aur that referenced this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant