[Xfce4-commits] [xfce/thunar] 03/03: Pathbar buttons are not resized on folder rename (#15024)

noreply at xfce.org noreply at xfce.org
Tue Apr 23 10:51:13 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   l   e   x       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 a7ece295374d54e98e35b6a546f707d1c8e154b9
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Tue Apr 23 10:48:28 2019 +0200

    Pathbar buttons are not resized on folder rename (#15024)
---
 thunar/thunar-location-button.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/thunar/thunar-location-button.c b/thunar/thunar-location-button.c
index 74a4362..126ba93 100644
--- a/thunar/thunar-location-button.c
+++ b/thunar/thunar-location-button.c
@@ -444,6 +444,10 @@ thunar_location_button_file_changed (ThunarLocationButton *location_button,
       dnd_icon_name = thunar_file_get_icon_name (file, location_button->file_icon_state, icon_theme);
       gtk_drag_source_set_icon_name (GTK_WIDGET (location_button), dnd_icon_name);
     }
+
+  /* recalculate the required size in case the filename changed */
+  gtk_widget_set_size_request (GTK_WIDGET (location_button->label), -1, -1);
+
 }
 
 

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


More information about the Xfce4-commits mailing list