disallow userDirButton parent selection
This commit is contained in:
@@ -475,6 +475,7 @@ func searchUserDir(dir string) {
|
|||||||
if len(fileSearchResults) > 0 {
|
if len(fileSearchResults) > 0 {
|
||||||
btn := setUpUserDirButton(fmt.Sprintf("folder-%s", dir), "", dir, userDirsMap)
|
btn := setUpUserDirButton(fmt.Sprintf("folder-%s", dir), "", dir, userDirsMap)
|
||||||
fileSearchResultFlowBox.Add(btn)
|
fileSearchResultFlowBox.Add(btn)
|
||||||
|
btn.Parent().(*gtk.FlowBoxChild).SetCanFocus(false)
|
||||||
|
|
||||||
for _, path := range fileSearchResults {
|
for _, path := range fileSearchResults {
|
||||||
log.Debugf("Path: %s", path)
|
log.Debugf("Path: %s", path)
|
||||||
|
|||||||
Reference in New Issue
Block a user