[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size
noreply at xfce.org
noreply at xfce.org
Sat Apr 11 10:54:50 CEST 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 6197435550bf2de2737e067ded0d4751f9041716
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Apr 11 10:53:23 2020 +0200
settings-manager: Make sure content determines size
Previously the window could be horizontally resized which would cut off
window content and insert a horizontal scrollbar. This is not the case
in any of our standalone settings dialogs and causes usability issues.
Therefore we now disable this scrollbar policy setting.
---
xfce4-settings-manager/xfce-settings-manager-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
index 889c9a6..38314d1 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -301,7 +301,7 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog)
/* pluggable dialog scrolled window and viewport */
dialog->socket_scroll = scroll = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_NONE);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_box_pack_start (GTK_BOX (dialog_vbox), scroll, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (scroll), 0);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list