[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size

2020-04-12 Thread noreply
This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
commit to branch 
xfce-4.14
in repository xfce/xfce4-settings.

commit d07a2fcf648c5e636c94cb12ed035fdf6429a030
Author: Simon Steinbeiss 
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.

Signed-off-by: Sean Davis 
---
 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 3dd2cf3..3ff7a1f 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -329,7 +329,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.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size

2020-04-11 Thread noreply
This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository xfce/xfce4-settings.

commit 6197435550bf2de2737e067ded0d4751f9041716
Author: Simon Steinbeiss 
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.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits