cmotif

Showing only relative paths in the directory pane of a Motif FileSelectionBox


What is the recommended way to make an (Open)Motif XmFileSelectionBox show just relative paths inside the "Directories" pane? I mean, something like this

desired result with relative paths

instead of

enter image description here

I've tried looking for something tweakable via .Xresources but couldn't find anything... Should I write my own dirSearchProc ?


Solution

  • Well there is a resource after all:

    *pathMode: path_mode_relative
    

    (This splits the "Filter" textfield into two "Directory" and "Filter" fields though)