[Xfce4-commits] [xfce/thunar] 01/01: Make sure icon text is centered after unchecking "Text beside icons"
noreply at xfce.org
noreply at xfce.org
Sat Nov 2 23:00:20 CET 2019
This is an automated email from the git hooks/post-receive script.
a n d r e 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/thunar.
commit e313a1bb065fa7daf0dcb8328cfc71411e031aee
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Nov 2 18:58:57 2019 -0300
Make sure icon text is centered after unchecking "Text beside icons"
---
thunar/thunar-icon-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thunar/thunar-icon-view.c b/thunar/thunar-icon-view.c
index 1cfa835..c658fd9 100644
--- a/thunar/thunar-icon-view.c
+++ b/thunar/thunar-icon-view.c
@@ -134,7 +134,7 @@ thunar_icon_view_set_property (GObject *object,
else
{
exo_icon_view_set_orientation (EXO_ICON_VIEW (gtk_bin_get_child (GTK_BIN (standard_view))), GTK_ORIENTATION_VERTICAL);
- g_object_set (G_OBJECT (standard_view->name_renderer), "yalign", 0.0f, "alignment", PANGO_ALIGN_CENTER, NULL);
+ g_object_set (G_OBJECT (standard_view->name_renderer), "yalign", 0.0f, "xalign", 0.5f, "alignment", PANGO_ALIGN_CENTER, NULL);
/* connect the "zoom-level" signal handler as the wrap-width is now synced with the "zoom-level" */
g_signal_connect (object, "notify::zoom-level", G_CALLBACK (thunar_icon_view_zoom_level_changed), NULL);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list