[Xfce-bugs] [Bug 15024] New: Pathbar buttons are not resized on	folder rename
    bugzilla-daemon at xfce.org 
    bugzilla-daemon at xfce.org
       
    Sat Jan  5 19:27:22 CET 2019
    
    
  
https://bugzilla.xfce.org/show_bug.cgi?id=15024
            Bug ID: 15024
           Summary: Pathbar buttons are not resized on folder rename
    Classification: Xfce Core
           Product: Thunar
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: alexxcons at xfce.org
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.3
Resizing works fine if the new folder name is longer than before.
But shortening the name of a folder does not trigger a shrink of the related
pathbar button.
The method of interest is:
"thunar_location_button_file_changed"
which is triggered by thunar_file_watch (see thunar_location_button_set_file) 
I quess the thunar-location-button is expanded by gtk, according to its new
label-size.
But for a shrinked label, some method has to be called on the widget to shrink.
Possibly the location-bar needs to be signaled to re-draw / re-calc. Currently
we only have the signals CLICKED and GONE to do so .. I guess a third signal
would be required.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the Xfce-bugs
mailing list