[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:54:31 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       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit 1453d6b996ff771c96545178bfa9a4bb93c35267
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 30ea56e..e97cd0b 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