[Xfce4-commits] [xfce/xfce4-settings] 43/57: color: Fix alignment of profile list

noreply at xfce.org noreply at xfce.org
Thu Mar 21 22:14:31 CET 2019


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 16dcf896737972818d5caf5132f5d517d6a0edca
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Feb 18 00:16:48 2019 +0100

    color: Fix alignment of profile list
---
 dialogs/color-settings/color-profile.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dialogs/color-settings/color-profile.c b/dialogs/color-settings/color-profile.c
index 3b17cb3..83a3fd5 100644
--- a/dialogs/color-settings/color-profile.c
+++ b/dialogs/color-settings/color-profile.c
@@ -45,7 +45,7 @@ struct _ColorProfile
 #define GCM_SETTINGS_RECALIBRATE_DISPLAY_THRESHOLD      "recalibrate-display-threshold"
 
 
-#define IMAGE_WIDGET_PADDING 12
+#define IMAGE_WIDGET_PADDING 9
 
 G_DEFINE_TYPE (ColorProfile, color_profile, GTK_TYPE_LIST_BOX_ROW)
 
@@ -183,7 +183,7 @@ color_profile_refresh (ColorProfile *color_profile)
   /* show the image if the profile is default */
   gtk_widget_set_visible (color_profile->widget_image, color_profile->is_default);
   gtk_widget_set_margin_start (color_profile->widget_description,
-                              color_profile->is_default ? 0 : IMAGE_WIDGET_PADDING * 4);
+                              color_profile->is_default ? 0 : IMAGE_WIDGET_PADDING * 2 + 16);
 
   /* set the title */
   title = gcm_prefs_get_profile_title (color_profile->profile);
@@ -348,7 +348,7 @@ color_profile_init (ColorProfile *color_profile)
   /* default tick */
   color_profile->widget_image = gtk_image_new_from_icon_name ("object-select-symbolic", GTK_ICON_SIZE_MENU);
   gtk_widget_set_margin_start (color_profile->widget_image, IMAGE_WIDGET_PADDING);
-  gtk_widget_set_margin_end (color_profile->widget_image, IMAGE_WIDGET_PADDING);
+  //gtk_widget_set_margin_end (color_profile->widget_image, IMAGE_WIDGET_PADDING);
   gtk_box_pack_start (GTK_BOX (box), color_profile->widget_image, FALSE, FALSE, 0);
 
   /* description */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list