Feature Request #70 Navigation menu option and button for parent directory
authorColin Clark <cclark@mcb.net>
Tue, 2 Feb 2016 13:15:49 +0000 (13:15 +0000)
committerKlaus Ethgen <Klaus@Ethgen.de>
Tue, 2 Feb 2016 13:33:57 +0000 (14:33 +0100)
commite9fc1363be4852aac7705a4423e7dceee84af892
treeaaefd1b90af44bc66f241ac48290590b73b873f6
parent285c2da9dcfac06cd82abecd243a91e226c6850f
Feature Request #70 Navigation menu option and button for parent directory

This request was made some years ago:

https://sourceforge.net/p/geeqie/feature-requests/70/

I have attached a patch which implements this. Also, keyboard-only users
will be able to use keyboard-accelerators to map a key to the Up function.

Unfortunately there is a usability problem. If the configuration file
geeqirc.xml exists (which it will except for first-time installations)
geeqie will not look at the programmed defaults, but will create the
toolbar from the config file - and the Up icon will not be displayed.

If the user first executes a command such as this:

sed -i '/toolitem action = "Back"/a <toolitem action = "Up" />'
~/.config/geeqie/geeqierc.xml

then all will be well.

This is not ideal, but I see no other solution.

Colin Clark
src/layout_util.c
src/view_dir_list.c